From f57ccbbb7c56511d9ac12a923543b98b6436bf28 Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Sun, 30 Apr 2023 19:37:38 +0500 Subject: [PATCH] dev-python/defcon: new package, add 0.10.2 Signed-off-by: Anna (cybertailor) Vyalkova --- dev-python/defcon/Manifest | 1 + dev-python/defcon/defcon-0.10.2.ebuild | 32 ++++++++++++++++++++++++++ dev-python/defcon/metadata.xml | 12 ++++++++++ 3 files changed, 45 insertions(+) create mode 100644 dev-python/defcon/Manifest create mode 100644 dev-python/defcon/defcon-0.10.2.ebuild create mode 100644 dev-python/defcon/metadata.xml diff --git a/dev-python/defcon/Manifest b/dev-python/defcon/Manifest new file mode 100644 index 0000000000..dffa4872b6 --- /dev/null +++ b/dev-python/defcon/Manifest @@ -0,0 +1 @@ +DIST defcon-0.10.2.zip 519741 BLAKE2B 6b31d88904bf3ae5e8b1774de1c3d61f8993eb91e54c08b5498fdef1b7143084423dbac20b0a3d17981065db98a93bd82753a67c38a2b4b239632c67d4ae1667 SHA512 9ec1550783c2618644dfc1da8bf4c1270dc0eb9737f3d17cead766f94856e5abf4d976876726180e9a4a9fa8f0c8b9747375acfae7967bc9e651b29476903b82 diff --git a/dev-python/defcon/defcon-0.10.2.ebuild b/dev-python/defcon/defcon-0.10.2.ebuild new file mode 100644 index 0000000000..f9f5cffe2b --- /dev/null +++ b/dev-python/defcon/defcon-0.10.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 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 pypi + +DESCRIPTION="A set of UFO based objects for use in font editing applications" +HOMEPAGE="https://github.com/robotools/defcon" +SRC_URI="$(pypi_sdist_url ${PN} ${PV} .zip)" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=dev-python/fonttools-4.34.4[${PYTHON_USEDEP}]" +BDEPEND=" + app-arch/unzip + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/fs[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_configure() { + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + distutils-r1_src_configure +} diff --git a/dev-python/defcon/metadata.xml b/dev-python/defcon/metadata.xml new file mode 100644 index 0000000000..1ec51c84c1 --- /dev/null +++ b/dev-python/defcon/metadata.xml @@ -0,0 +1,12 @@ + + + + + cyber+gentoo@sysrq.in + Anna + + + robotools/defcon + defcon + +