diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-03-05 10:56:52 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-03-05 11:13:55 +0100 |
commit | 8812ac5eca6a15128735f2c08ec5d328e69c5de7 (patch) | |
tree | 9840028474a8c39de94fb8c2b4ab236e6d0e9494 /dev-python | |
parent | dev-python/mongoengine: Bump to 0.23.0 (diff) | |
download | gentoo-8812ac5eca6a15128735f2c08ec5d328e69c5de7.tar.gz gentoo-8812ac5eca6a15128735f2c08ec5d328e69c5de7.tar.bz2 gentoo-8812ac5eca6a15128735f2c08ec5d328e69c5de7.zip |
dev-python/setuptools_scm: Bump to 5.0.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/setuptools_scm/Manifest | 1 | ||||
-rw-r--r-- | dev-python/setuptools_scm/setuptools_scm-5.0.2.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/setuptools_scm/Manifest b/dev-python/setuptools_scm/Manifest index 6ce4d0084073..00476fe566a0 100644 --- a/dev-python/setuptools_scm/Manifest +++ b/dev-python/setuptools_scm/Manifest @@ -1 +1,2 @@ DIST setuptools_scm-5.0.1.tar.gz 51679 BLAKE2B 33f43b437b675291ded4408dd5e68ffbf4615938f963516c0047ead023b2f2a50b28a0d91c7c72a8bdff678d9b8b292aeec36bf418b43f8d039f13560b1fbeb6 SHA512 055403539a26caeb119f3d6623e7b32ef52ccc11a39757fdd9b265ba191265346be5a062a5926a381ba47bbd1a666ffa632653ee6055050689cc38fe0f90cd0f +DIST setuptools_scm-5.0.2.tar.gz 52273 BLAKE2B a4166b293f26161be8748f0c4b819dba0c03186a95d0c06b6fd6fdee7910de60e034ab81f6f1d89f7a1b47381441deb8a38d05421aef3287b35705bbddee33ee SHA512 1e92d03e2d8473425c146a885eb641e98895c43afebcd3c66c1455ace2d81f187b87681072f8aacc5e8be166577f00138cc7c53e4b7d77cb1b598f835b72b010 diff --git a/dev-python/setuptools_scm/setuptools_scm-5.0.2.ebuild b/dev-python/setuptools_scm/setuptools_scm-5.0.2.ebuild new file mode 100644 index 000000000000..07d1b0659787 --- /dev/null +++ b/dev-python/setuptools_scm/setuptools_scm-5.0.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{7..9} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Manage versions by scm tags via setuptools" +HOMEPAGE=" + https://github.com/pypa/setuptools_scm/ + https://pypi.org/project/setuptools-scm/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +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" + +BDEPEND=" + !!<dev-python/setuptools_scm-2 + test? ( + dev-python/toml[${PYTHON_USEDEP}] + dev-vcs/git + !sparc? ( dev-vcs/mercurial ) )" + +distutils_enable_tests --install pytest + +python_prepare_all() { + # network access + sed -i -e 's:test_pip_download:_&:' testing/test_regressions.py || die + # all fetch specific setuptools versions + rm testing/test_setuptools_support.py || die + + distutils-r1_python_prepare_all +} |