summaryrefslogtreecommitdiff
path: root/dev-python/jaraco-packaging
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-16 09:32:48 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-16 09:32:48 +0100
commit9ee6d97c2883d42f204a533a8bc1f4562df778fb (patch)
treeb690ddc0ca30f1472887edbb0b8313629bfcbbb2 /dev-python/jaraco-packaging
parentb17a3ef12038de50228bade1f05502c74e135321 (diff)
gentoo resync : 16.09.2020
Diffstat (limited to 'dev-python/jaraco-packaging')
-rw-r--r--dev-python/jaraco-packaging/Manifest3
-rw-r--r--dev-python/jaraco-packaging/jaraco-packaging-8.1.0-r1.ebuild52
-rw-r--r--dev-python/jaraco-packaging/jaraco-packaging-8.1.0.ebuild2
3 files changed, 55 insertions, 2 deletions
diff --git a/dev-python/jaraco-packaging/Manifest b/dev-python/jaraco-packaging/Manifest
index cdd4fb839c9a..9677e944a552 100644
--- a/dev-python/jaraco-packaging/Manifest
+++ b/dev-python/jaraco-packaging/Manifest
@@ -1,5 +1,6 @@
DIST jaraco.packaging-6.2.tar.gz 15408 BLAKE2B 21c63b4e400bdf8b4b79873e6a96c7576b91500624c942246a8f64fc06da22e90203832c3c3084803c6ee23af8f102bb23cb12276cd3bba13446815f4a71f0dc SHA512 f8496a9dccb29dbac24927b40bc29d472b8c6bdb939bfcacf70196130ba9c961747a8b75c63574352a8bfeb2a512eb849dfba3344e942f1338ea1538e0767f33
DIST jaraco.packaging-8.1.0.tar.gz 15322 BLAKE2B c354bec458a319bd9df0667c155203efa5c3de2d95218d0dd3a5878011d2d8fef694a490a2bac0035bff8daa18d1a3447c2c8dab7c0bd7bb09b62969f91d4709 SHA512 99996765cb047f2f0416d6afc4ff6ee0d84d03da0e07c7a7121518fbaf668f587c044f567c1d66a455372897ec1634ba5ee490552ac92064ca072e20b8f60a3b
EBUILD jaraco-packaging-6.2-r1.ebuild 1720 BLAKE2B fd913fd7648b24dd2c7fa1f7052cc4f4482c8536c2d18a2061d2ca05e8cc3bca86cd363fdc272bbecb421a0cc1d564fa257634a165f08c5358c8844781c2804c SHA512 49e64e395070a768954473a163b419037a8689673b85a8fa1464caa10a1ee75cc8b78abb3f7ac74001807853465d619cfc58d39db6870baddd2dcfa5c3fd7245
-EBUILD jaraco-packaging-8.1.0.ebuild 1497 BLAKE2B 8bbbe2fb48701a54863bec94b42596690b500eb56ecaeb3ef67d2b63042fcdf8dacab82df3e9bec2fb49ac23691c82b916208025dfbe39a3f6b9977b1c3484e9 SHA512 8ad1d01ed66de7c75963b480dd399e687131b6f1d77cc4260b6a96ae34fe4c6259294255d55add2ab6d1af9f2f456c68fa9a207d8d30e96d0e4bf91a0f14a460
+EBUILD jaraco-packaging-8.1.0-r1.ebuild 1560 BLAKE2B 9708457a39412c13e9d6958421988dab3c6c03b8e3ba940c815511c839bd43fbe4b1a685b5d616ebeb0cc190b7a2cf27f1b6335e241c7bf5770a6d7612a65a1d SHA512 997b0cbd1930f5e62e15ec49dd7a05f6cf9b0b73cd65555bb7519ffb1557706228e199d052a3cecc7f076bc7c2ce502507be2c22d76374c93f91b3c0e6789ae3
+EBUILD jaraco-packaging-8.1.0.ebuild 1504 BLAKE2B 0fb8c8862a24fec2ae8d5072d3aa79f19568ba4591fad16ff58d627714efcf35bfc7d33b431bd18095144c0c1c4f87a72c8ccca8de72b6eb7dbd5584b63f09c1 SHA512 8d8fd454efc874c8a1267ee7494bee7e7ebc5e3af1653cd13f98d06f028b3a42bb22dc17f5c8f72d13b0e776856208d1098cd6504f0fef66eb42af02e983f693
MISC metadata.xml 651 BLAKE2B 145a05709cfd4b85e623982b7defaf588eb0d68ed3fcbb52655a5a8cd10fcb2cfb269b9179e81e5409be0485f4c71565ecbdc4019d9f07f322d2cfbc3731c2d0 SHA512 d8f857056e0a73cb34903a7001cda6f543eeec0182a87ee2bd660631ab9e855d1214166546c179b9711ec8ed9a5063b14d9362001e67203a7132694112ebf086
diff --git a/dev-python/jaraco-packaging/jaraco-packaging-8.1.0-r1.ebuild b/dev-python/jaraco-packaging/jaraco-packaging-8.1.0-r1.ebuild
new file mode 100644
index 000000000000..a80e08b70b10
--- /dev/null
+++ b/dev-python/jaraco-packaging/jaraco-packaging-8.1.0-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+
+MY_PN="${PN/-/.}"
+DESCRIPTION="Tools to supplement packaging Python releases"
+HOMEPAGE="https://github.com/jaraco/jaraco.packaging"
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' pypy3 python3_{6,7})
+ >=dev-python/namespace-jaraco-2[${PYTHON_USEDEP}]
+ >=dev-python/six-1.4[${PYTHON_USEDEP}]
+"
+DEPEND="
+ dev-python/toml[${PYTHON_USEDEP}]
+ >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
+ test? (
+ ${RDEPEND}
+ >=dev-python/pytest-2.8[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_sphinx docs '>=dev-python/rst-linker-1.9'
+
+python_test() {
+ # Skip one test which requires network access
+ # Override pytest options to skip flake8
+ PYTHONPATH=. pytest -vv -k "not test_revived_distribution" \
+ --override-ini="addopts=--doctest-modules" \
+ || die "tests failed with ${EPYTHON}"
+}
+
+# https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages#File_collisions_between_pkgutil-style_packages
+python_install() {
+ rm "${BUILD_DIR}"/lib/jaraco/__init__.py || die
+ # note: eclass may default to --skip-build in the future
+ distutils-r1_python_install --skip-build
+}
diff --git a/dev-python/jaraco-packaging/jaraco-packaging-8.1.0.ebuild b/dev-python/jaraco-packaging/jaraco-packaging-8.1.0.ebuild
index 7e637144c698..a14d9974caad 100644
--- a/dev-python/jaraco-packaging/jaraco-packaging-8.1.0.ebuild
+++ b/dev-python/jaraco-packaging/jaraco-packaging-8.1.0.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86"
IUSE="test"
RESTRICT="!test? ( test )"