summaryrefslogtreecommitdiff
path: root/dev-python/packaging
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-02-02 01:39:05 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-02-02 01:39:05 +0000
commitfcc5224904648a8e6eb528d7603154160a20022f (patch)
tree3bfce096b38a9cea8eed13fc70c1526c456e9abd /dev-python/packaging
parent2fd57282f0262ca084e05b0f2c63fbada395d02b (diff)
gentoo resync : 02.02.2022
Diffstat (limited to 'dev-python/packaging')
-rw-r--r--dev-python/packaging/Manifest3
-rw-r--r--dev-python/packaging/packaging-21.3-r1.ebuild2
-rw-r--r--dev-python/packaging/packaging-21.3-r2.ebuild49
3 files changed, 52 insertions, 2 deletions
diff --git a/dev-python/packaging/Manifest b/dev-python/packaging/Manifest
index 19e78dbe791c..0df985472bb6 100644
--- a/dev-python/packaging/Manifest
+++ b/dev-python/packaging/Manifest
@@ -1,3 +1,4 @@
DIST packaging-21.3.gh.tar.gz 80471 BLAKE2B a16ba1e74f0c868816131a7cb07b7aa0c14760cf3ad4c3d6737ac30ef99276c33b1f018d29e710f28e8d0cfb0e3e6b91e375d1d17e2b7ec6302164377cd503d0 SHA512 8960deacda26877b73d98a3b632e760e902a16ec7a04707f84044980e4d4fb33e4f584db115c9008066aa876079f28633bafe37fbd5ce9a23830b6b89eb4ae7a
-EBUILD packaging-21.3-r1.ebuild 958 BLAKE2B 6b8cff1a9479ec3e2529489a4c56de56b84cae71e253babbb98f5a7e4cb800cc0d0aad784a706859215863e9f92eb9df8780f4506bcb179820e155e4fc0d3c58 SHA512 8be4774229bebe45ee6935e1365c2c9c9de8a6ab8a833980738fb324fa066456e0d84e197abfe1e820a63448dc82e2e5425d3fe3f49278e64bab87afa1a544d2
+EBUILD packaging-21.3-r1.ebuild 957 BLAKE2B 29bdbd7c6176bd4bec2386adf998ac234daef32ae53f28cd19824ecaae5929ddd0336e21452c0e4644d4d4cb055ad2ce665280b9def9bd49c252003c594c7a11 SHA512 255744e7d524098c189ea8317da619cd6f3bb7a903cb96a3271f7aebf9b19cebaae7013f0dc0453a7849ab8e61e9817fe9ea6dae4af6d7970d32b489f9621f81
+EBUILD packaging-21.3-r2.ebuild 1284 BLAKE2B 1c1c8a65e5cb4b025ab101f063be2bef42f0e927b5acd3bc89fc197352656b88364b096fb21d23d840638b387332ad0f2b92480a1f57bee30b60d0e579155e0c SHA512 7f3d26f0f07c39e7bd4b874667bb3b36d83ed63af6941eb4319d350506dd7bd36ceae437908f322f51e651c1287cff2998b7c2ad476968a1a3af31494023cad5
MISC metadata.xml 391 BLAKE2B 0d73ed3809b26e3069048116ab247ceeb9e2932e0d8d6063b97cc1f0ed8359e73a54b22035fedb169524e502b6a07b8203e6c35d801f738bbed685d90e12bf96 SHA512 eb4d1ca476a45232547fdd961a4e6715dda24c7ab82e1f1995ac977b9825793d5d10a2ac408b1ee0b7c8b8444f2c42be33d6fb1012461f96db9a71477cca67ae
diff --git a/dev-python/packaging/packaging-21.3-r1.ebuild b/dev-python/packaging/packaging-21.3-r1.ebuild
index d39ba4b3ac03..c90d7a08688c 100644
--- a/dev-python/packaging/packaging-21.3-r1.ebuild
+++ b/dev-python/packaging/packaging-21.3-r1.ebuild
@@ -4,7 +4,7 @@
# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
EAPI=7
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
DESCRIPTION="Core utilities for Python packages"
diff --git a/dev-python/packaging/packaging-21.3-r2.ebuild b/dev-python/packaging/packaging-21.3-r2.ebuild
new file mode 100644
index 000000000000..dff1fc84c5b7
--- /dev/null
+++ b/dev-python/packaging/packaging-21.3-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
+EAPI=7
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Core utilities for Python packages"
+HOMEPAGE="
+ https://github.com/pypa/packaging/
+ https://pypi.org/project/packaging/"
+SRC_URI="
+ https://github.com/pypa/packaging/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+SLOT="0"
+LICENSE="|| ( Apache-2.0 BSD-2 )"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+RDEPEND="
+ >=dev-python/pyparsing-3.0.6[${PYTHON_USEDEP}]
+"
+DEPEND="
+ test? (
+ dev-python/pretend[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+src_configure() {
+ # write a custom pyproject.toml to ease setuptools bootstrap
+ cat > pyproject.toml <<-EOF || die
+ [build-system]
+ requires = ["flit_core >=3.2,<4"]
+ build-backend = "flit_core.buildapi"
+
+ [project]
+ name = "packaging"
+ dynamic = ["version"]
+ description = "More routines for operating on iterables, beyond itertools"
+ EOF
+}
+
+python_test() {
+ epytest --capture=no
+}