diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-02-02 09:53:18 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-02-02 10:26:45 +0100 |
commit | d4d8daa651c330e1ec3e41379066df13ab393183 (patch) | |
tree | 7ccd98145a38cf908ed6e05cf7dadafc805687bf /dev-python/constantly | |
parent | dev-python/constantly: Add pypy3 love (diff) | |
download | gentoo-d4d8daa651c330e1ec3e41379066df13ab393183.tar.gz gentoo-d4d8daa651c330e1ec3e41379066df13ab393183.tar.bz2 gentoo-d4d8daa651c330e1ec3e41379066df13ab393183.zip |
dev-python/constantly: Switch to PEP 517 build
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/constantly')
-rw-r--r-- | dev-python/constantly/constantly-15.1.0-r2.ebuild | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-python/constantly/constantly-15.1.0-r2.ebuild b/dev-python/constantly/constantly-15.1.0-r2.ebuild new file mode 100644 index 000000000000..45cb24e1df82 --- /dev/null +++ b/dev-python/constantly/constantly-15.1.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=setuptools +PYTHON_COMPAT=( python3_{8..10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Symbolic constants in Python" +HOMEPAGE="https://github.com/twisted/constantly https://pypi.org/project/constantly/" +SRC_URI="https://github.com/twisted/constantly/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( dev-python/twisted[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests setup.py |