diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-12-08 15:34:41 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-12-08 17:54:54 +0100 |
commit | 69e4d191e056eece9e819cabff864a8ab693e019 (patch) | |
tree | d5b3ac4745fe941b04a25679ad5111785d5d4b85 | |
parent | dev-python/sphinx_ansible_theme: Bump to 0.10.1 (diff) | |
download | gentoo-69e4d191e056eece9e819cabff864a8ab693e019.tar.gz gentoo-69e4d191e056eece9e819cabff864a8ab693e019.tar.bz2 gentoo-69e4d191e056eece9e819cabff864a8ab693e019.zip |
dev-python/packaging: Bump to 22.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/packaging/Manifest | 1 | ||||
-rw-r--r-- | dev-python/packaging/packaging-22.0.ebuild | 36 | ||||
-rw-r--r-- | profiles/package.mask | 5 |
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/packaging/Manifest b/dev-python/packaging/Manifest index 9cb854a5d2cd..c6cdfbeb954d 100644 --- a/dev-python/packaging/Manifest +++ b/dev-python/packaging/Manifest @@ -1 +1,2 @@ DIST packaging-21.3.gh.tar.gz 80471 BLAKE2B a16ba1e74f0c868816131a7cb07b7aa0c14760cf3ad4c3d6737ac30ef99276c33b1f018d29e710f28e8d0cfb0e3e6b91e375d1d17e2b7ec6302164377cd503d0 SHA512 8960deacda26877b73d98a3b632e760e902a16ec7a04707f84044980e4d4fb33e4f584db115c9008066aa876079f28633bafe37fbd5ce9a23830b6b89eb4ae7a +DIST packaging-22.0.gh.tar.gz 83340 BLAKE2B 6f8e36c1bed71d4d5902fb833a7c011f3eac5e5e00f9e73a7258bbb6c79cfd30c6c175ad5778c5a5dd88bc275a66f69448ec59937159553d229f93510e189d41 SHA512 2189dec11dd9fd78a6d816bda08f881e5aa54fde09d51450ceb460a37ba87231fcfdb5ad4f58d262face44dfb0f1c4b420f759491008f8c26cef7e8317c414a8 diff --git a/dev-python/packaging/packaging-22.0.ebuild b/dev-python/packaging/packaging-22.0.ebuild new file mode 100644 index 000000000000..fc66974a5d73 --- /dev/null +++ b/dev-python/packaging/packaging-22.0.ebuild @@ -0,0 +1,36 @@ +# 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..11} 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 ~loong ~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.7-r1[${PYTHON_USEDEP}] +" +DEPEND=" + test? ( + dev-python/pretend[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + epytest --capture=no +} diff --git a/profiles/package.mask b/profiles/package.mask index 5b69dd50aa8d..b18cf2024698 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -33,6 +33,11 @@ #--- END OF EXAMPLES --- +# Michał Górny <mgorny@gentoo.org> (2022-12-08) +# Seems to break some logic in pkg_resources. Masked for the time being +# to prevent breakage. +>=dev-python/packaging-22.0 + # Ionen Wolkens <ionen@gentoo.org> (2022-12-07) # Formerly added to apply binary git patches to wine-staging without git, but # has not been used since 2017 and stuck on EAPI-6. Alternatives: dev-vcs/git |