dev-python/rcssmin: new package, add 1.1.1

This commit is contained in:
Alarig Le Lay 2023-03-21 22:06:48 +01:00
parent fdfc9e16bf
commit f839584d33
Signed by: alarig
GPG Key ID: 7AFE62C6DF8BCDEC
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST rcssmin-1.1.1.tar.gz 582247 BLAKE2B 20a67546400f8fa86250a814f0a4b71e7f30df8ed8f9d0426d2ad097706174b082ad9645ca293c7477f0786ea42aca3c2a85b1fb1f32e30d44e816c10985a896 SHA512 3439808f0e9165cac33756a2664fb4e3a314107422a952ebd42b28653519d91ba9e8f775cd499078c6d3faf103415c7c66eec05258f2dcfe85fee4f253399dfd

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<remote-id type="pypi">rcssmin</remote-id>
<remote-id type="github">ndparker/rcssmin</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,28 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="CSS minifier written in python"
HOMEPAGE="http://opensource.perlig.de/rcssmin/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
distutils_enable_tests pytest
src_configure() {
export SETUP_CEXT_REQUIRED=1
}
python_install_all() {
distutils-r1_python_install_all
mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}"
}