dev-python/cu2qu: add 1.6.7_p2, remove old

Closes: https://bugs.gentoo.org/897420
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2023-02-26 09:57:24 +05:00
parent 225f6c62b9
commit 93ef1791a6
4 changed files with 40 additions and 75 deletions

View File

@@ -1,2 +1 @@
DIST cu2qu-1.6.7.post1.zip 136959 BLAKE2B 9b1ffbe234177794b0c3726c8959351e614d2e9a03e5b95e462beacaa2a6ba2932732b92e32d2dd91a712c6b73beeeab50f143b6d4248073975a057dc20dd1eb SHA512 a0dbed28403ae2bbdbf4719d9e34d5861250dc1510129d658b336d773a5153e0955d5f2ff018f5f93d88394658918fad2a58aebb99cef998d4cf9128a300f489
DIST cu2qu-1.6.7.zip 215819 BLAKE2B 328df385c459f82805eaa9483ccf49ab1faae2f4a878381d2a7fd1e2be01d15f55eb5f2afabc1a0487d3bed4ae407cc2042989bc820620bd1ac0b33f95d441bc SHA512 929d353cf8ef6f989cd373c49ba77082cfdd35edce6aafa1c13d983782562a16245d75d086d3a7e28dd217bda6c19d50966a4fb1ce50d5a0397eb1304816a28f
DIST cu2qu-1.6.7.post2.zip 136950 BLAKE2B d6835a7a1b978e7ef22ff6daf6284965be8b0f60386dd7483dbafbe89e7320f3803f183cc2e859974c18f812405ebd515097e634a153d05a2d317f7df197473d SHA512 63969b31945c5e66c8bbe92650e73fd4824cf6b65252cbe1c0219a4ac34358a998ec1669f9a297a9540b02e161fb0768a2cce88991a6cc00c1d5dd9b80f99049

View File

@@ -1,31 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Cubic-to-quadratic bezier curve conversion"
HOMEPAGE="https://github.com/googlefonts/cu2qu"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.zip"
LICENSE="Apache-2.0"
KEYWORDS="~amd64"
SLOT="0"
RDEPEND="
>=dev-python/fonttools-3.32[${PYTHON_USEDEP}]
>=dev-python/defcon-0.6.0[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
"
BDEPEND="
app-arch/unzip
dev-python/cython[${PYTHON_USEDEP}]
dev-python/fs[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest

View File

@@ -1,42 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
MYPV="${PV/_p/.post}"
MYP="${PN}-${MYPV}"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Cubic-to-quadratic bezier curve conversion"
HOMEPAGE="https://github.com/googlefonts/cu2qu"
SRC_URI="mirror://pypi/${MYP:0:1}/${PN}/${MYP}.zip"
S="${WORKDIR}/${MYP}"
LICENSE="Apache-2.0"
KEYWORDS="~amd64"
SLOT="0"
RDEPEND="
>=dev-python/fonttools-3.32[${PYTHON_USEDEP}]
>=dev-python/defcon-0.6.0[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
dev-python/setuptools_scm[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
"
BDEPEND="
app-arch/unzip
dev-python/cython[${PYTHON_USEDEP}]
dev-python/fs[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
src_prepare() {
export CU2QU_WITH_CYTHON=1
distutils-r1_src_prepare
}

View File

@@ -0,0 +1,39 @@
# Copyright 1999-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 optfeature pypi
DESCRIPTION="Cubic-to-quadratic bezier curve conversion"
HOMEPAGE="
https://pypi.org/project/cu2qu/
https://github.com/googlefonts/cu2qu
"
SRC_URI="$(pypi_sdist_url "${PN}" "$(pypi_translate_version "${PV}")" .zip)"
LICENSE="Apache-2.0"
KEYWORDS="~amd64"
SLOT="0"
RDEPEND="
>=dev-python/fonttools-3.32[${PYTHON_USEDEP}]
<dev-python/fs-3[${PYTHON_USEDEP}]
"
BDEPEND="
app-arch/unzip
dev-python/cython[${PYTHON_USEDEP}]
dev-python/setuptools_scm[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
src_configure() {
CU2QU_WITH_CYTHON=1
}
pkg_postinst() {
optfeature "cli support" dev-python/defcon
}