Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/babelfish/
Date: Thu, 19 May 2022 07:32:05
Message-Id: 1652945515.845385ff3b420207f02fe9a266e7b85d136d2900.mgorny@gentoo
1 commit: 845385ff3b420207f02fe9a266e7b85d136d2900
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 19 07:26:30 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu May 19 07:31:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=845385ff
7
8 dev-python/babelfish: Use PEP517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/babelfish/babelfish-0.6.0-r2.ebuild | 25 +++++++++++++++++++++++++
13 dev-python/babelfish/babelfish-9999.ebuild | 14 +++++++-------
14 2 files changed, 32 insertions(+), 7 deletions(-)
15
16 diff --git a/dev-python/babelfish/babelfish-0.6.0-r2.ebuild b/dev-python/babelfish/babelfish-0.6.0-r2.ebuild
17 new file mode 100644
18 index 000000000000..49a48bc3a2cd
19 --- /dev/null
20 +++ b/dev-python/babelfish/babelfish-0.6.0-r2.ebuild
21 @@ -0,0 +1,25 @@
22 +# Copyright 1999-2022 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=8
26 +
27 +DISTUTILS_USE_PEP517=poetry
28 +PYTHON_COMPAT=( python3_{8..10} )
29 +
30 +inherit distutils-r1
31 +
32 +DESCRIPTION="Python library to work with countries and languages"
33 +HOMEPAGE="
34 + https://github.com/Diaoul/babelfish/
35 + https://pypi.org/project/babelfish/
36 +"
37 +SRC_URI="
38 + https://github.com/Diaoul/babelfish/archive/${PV}.tar.gz
39 + -> ${P}.gh.tar.gz
40 +"
41 +
42 +LICENSE="BSD"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
45 +
46 +distutils_enable_tests pytest
47
48 diff --git a/dev-python/babelfish/babelfish-9999.ebuild b/dev-python/babelfish/babelfish-9999.ebuild
49 index 8876693501c0..a4a6de6e16c4 100644
50 --- a/dev-python/babelfish/babelfish-9999.ebuild
51 +++ b/dev-python/babelfish/babelfish-9999.ebuild
52 @@ -1,21 +1,21 @@
53 -# Copyright 1999-2021 Gentoo Authors
54 +# Copyright 1999-2022 Gentoo Authors
55 # Distributed under the terms of the GNU General Public License v2
56
57 EAPI=8
58
59 -DISTUTILS_USE_SETUPTOOLS=pyproject.toml
60 +DISTUTILS_USE_PEP517=poetry
61 PYTHON_COMPAT=( python3_{8..10} )
62
63 inherit distutils-r1 git-r3
64
65 DESCRIPTION="Python library to work with countries and languages"
66 -HOMEPAGE="https://github.com/Diaoul/babelfish https://pypi.org/project/babelfish/"
67 -EGIT_REPO_URI="https://github.com/Diaoul/${PN}.git"
68 +HOMEPAGE="
69 + https://github.com/Diaoul/babelfish/
70 + https://pypi.org/project/babelfish/
71 +"
72 +EGIT_REPO_URI="https://github.com/Diaoul/babelfish.git"
73
74 LICENSE="BSD"
75 SLOT="0"
76
77 -BDEPEND="
78 - >=dev-python/pyproject2setuppy-20[${PYTHON_USEDEP}]"
79 -
80 distutils_enable_tests pytest