commit:     845385ff3b420207f02fe9a266e7b85d136d2900
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu May 19 07:26:30 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May 19 07:31:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=845385ff

dev-python/babelfish: Use PEP517 build

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/babelfish/babelfish-0.6.0-r2.ebuild | 25 +++++++++++++++++++++++++
 dev-python/babelfish/babelfish-9999.ebuild     | 14 +++++++-------
 2 files changed, 32 insertions(+), 7 deletions(-)

diff --git a/dev-python/babelfish/babelfish-0.6.0-r2.ebuild 
b/dev-python/babelfish/babelfish-0.6.0-r2.ebuild
new file mode 100644
index 000000000000..49a48bc3a2cd
--- /dev/null
+++ b/dev-python/babelfish/babelfish-0.6.0-r2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python library to work with countries and languages"
+HOMEPAGE="
+       https://github.com/Diaoul/babelfish/
+       https://pypi.org/project/babelfish/
+"
+SRC_URI="
+       https://github.com/Diaoul/babelfish/archive/${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+distutils_enable_tests pytest

diff --git a/dev-python/babelfish/babelfish-9999.ebuild 
b/dev-python/babelfish/babelfish-9999.ebuild
index 8876693501c0..a4a6de6e16c4 100644
--- a/dev-python/babelfish/babelfish-9999.ebuild
+++ b/dev-python/babelfish/babelfish-9999.ebuild
@@ -1,21 +1,21 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+DISTUTILS_USE_PEP517=poetry
 PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1 git-r3
 
 DESCRIPTION="Python library to work with countries and languages"
-HOMEPAGE="https://github.com/Diaoul/babelfish 
https://pypi.org/project/babelfish/";
-EGIT_REPO_URI="https://github.com/Diaoul/${PN}.git";
+HOMEPAGE="
+       https://github.com/Diaoul/babelfish/
+       https://pypi.org/project/babelfish/
+"
+EGIT_REPO_URI="https://github.com/Diaoul/babelfish.git";
 
 LICENSE="BSD"
 SLOT="0"
 
-BDEPEND="
-       >=dev-python/pyproject2setuppy-20[${PYTHON_USEDEP}]"
-
 distutils_enable_tests pytest

Reply via email to