mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 19:43:24 -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:
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