aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2023-03-01 05:29:30 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2023-03-01 05:29:30 +0500
commitdec5cffd9c4af200e06f695a6062dbef2a453241 (patch)
tree9e34ee4fe9d6e86138a8beaf94f1a8662e1459c3 /dev-python/zopfli
parentdev-util/afdko: clean up patches (diff)
downloadguru-dec5cffd9c4af200e06f695a6062dbef2a453241.tar.gz
guru-dec5cffd9c4af200e06f695a6062dbef2a453241.tar.bz2
guru-dec5cffd9c4af200e06f695a6062dbef2a453241.zip
dev-python/zopfli: new package, add 0.2.2
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'dev-python/zopfli')
-rw-r--r--dev-python/zopfli/Manifest1
-rw-r--r--dev-python/zopfli/metadata.xml11
-rw-r--r--dev-python/zopfli/zopfli-0.2.2.ebuild33
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/zopfli/Manifest b/dev-python/zopfli/Manifest
new file mode 100644
index 000000000..3ecb0f1e3
--- /dev/null
+++ b/dev-python/zopfli/Manifest
@@ -0,0 +1 @@
+DIST zopfli-0.2.2.zip 205320 BLAKE2B 30bc3ed16c82e9527e5445b0fd758bf841ae970f4b10b6ebe3d88db5cf085a5b8e560e39282cfaacb6074184b08da7c142da330f7ba582fe35b5c1fdbdb0bd51 SHA512 5fd26039ce0bd910714fc4706a72d04bb5cf794957547943174ef12efe089c932802cc6bef4840a532f24d93fa726c0c23b0b1c2e6ec9eb3209c2f54b0eb8ba0
diff --git a/dev-python/zopfli/metadata.xml b/dev-python/zopfli/metadata.xml
new file mode 100644
index 000000000..6083b9602
--- /dev/null
+++ b/dev-python/zopfli/metadata.xml
@@ -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>
diff --git a/dev-python/zopfli/zopfli-0.2.2.ebuild b/dev-python/zopfli/zopfli-0.2.2.ebuild
new file mode 100644
index 000000000..b69ee09b2
--- /dev/null
+++ b/dev-python/zopfli/zopfli-0.2.2.ebuild
@@ -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
+}