mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 13:33:32 -04:00
dev-python/zopfli: new package, add 0.2.2
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
1
dev-python/zopfli/Manifest
Normal file
1
dev-python/zopfli/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST zopfli-0.2.2.zip 205320 BLAKE2B 30bc3ed16c82e9527e5445b0fd758bf841ae970f4b10b6ebe3d88db5cf085a5b8e560e39282cfaacb6074184b08da7c142da330f7ba582fe35b5c1fdbdb0bd51 SHA512 5fd26039ce0bd910714fc4706a72d04bb5cf794957547943174ef12efe089c932802cc6bef4840a532f24d93fa726c0c23b0b1c2e6ec9eb3209c2f54b0eb8ba0
|
||||||
11
dev-python/zopfli/metadata.xml
Normal file
11
dev-python/zopfli/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>cyber+gentoo@sysrq.in</email>
|
||||||
|
<name>Anna</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="pypi">zopfli</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
||||||
33
dev-python/zopfli/zopfli-0.2.2.ebuild
Normal file
33
dev-python/zopfli/zopfli-0.2.2.ebuild
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
# Copyright 2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{9..11} )
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
inherit distutils-r1 pypi
|
||||||
|
|
||||||
|
DESCRIPTION="Zopfli module for Python"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://pypi.org/project/zopfli/
|
||||||
|
https://github.com/fonttools/py-zopfli
|
||||||
|
"
|
||||||
|
SRC_URI="$(pypi_sdist_url ${PN} ${PV} .zip)"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
DEPEND="app-arch/zopfli:="
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
app-arch/unzip
|
||||||
|
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
export USE_SYSTEM_ZOPFLI=1
|
||||||
|
distutils-r1_src_configure
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user