Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/setuptools_scm_git_archive/
Date: Tue, 28 Jun 2022 04:03:58
Message-Id: 1656389023.ca9d11d10f350d3f132677767e3f14de8a2bee34.mgorny@gentoo
1 commit: ca9d11d10f350d3f132677767e3f14de8a2bee34
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 28 03:27:26 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 28 04:03:43 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca9d11d1
7
8 dev-python/setuptools_scm_git_archive: Bump to 1.3
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/setuptools_scm_git_archive/Manifest | 1 +
13 .../setuptools_scm_git_archive-1.3.ebuild | 39 ++++++++++++++++++++++
14 2 files changed, 40 insertions(+)
15
16 diff --git a/dev-python/setuptools_scm_git_archive/Manifest b/dev-python/setuptools_scm_git_archive/Manifest
17 index 9775354ae235..dd9bd3c878cd 100644
18 --- a/dev-python/setuptools_scm_git_archive/Manifest
19 +++ b/dev-python/setuptools_scm_git_archive/Manifest
20 @@ -1,2 +1,3 @@
21 DIST setuptools_scm_git_archive-1.1.tar.gz 2584 BLAKE2B 7c7569a92300be966b5447b1ab6c30a982c837efdb7a125173f6014420d78cf28e0d8cb0f04c4349ce364219e1567bcbc2e13bd85cb7627d3bdbae9c7974385b SHA512 73783d60d33782fb18012e64685db6333a2dda1be41ce75e0cd74a81585d8ebb7c85f23371056a42974c93b2d4a0633338945cf2a2219b0ee2a21f063dad8809
22 DIST setuptools_scm_git_archive-1.2.gh.tar.gz 2648 BLAKE2B d2a6629fa1eb8c413def6c7cb192afb47299cd1ffce3692951fb6f90e9b6b4d0f4f2286486a5ae7e550c4659ed3ef7289746ec48be2bfe43c6c3d80143cc4e46 SHA512 980a7463dd7a53f71c8f9f1fde0f14927a6063bfae386b85d42a2909e05de42339a3770d5cf0c22981f17bbdec52febf7041fb54628f2d8321e46401ef0beccb
23 +DIST setuptools_scm_git_archive-1.3.gh.tar.gz 2556 BLAKE2B 338c02b9b377a165b4bcd29790e04b9e3215f2f892a681888760e5bdd2bc2a5c4970646fff42d652a6dde8557602af4dbde0decf5ac0f0605cbb55fc1f3ec085 SHA512 28146bef914f310590d29a1c3c2a97f1fe33d19d28eb7477983b6164d99d2e40e02afe541e5ef3ca8b7ff3297cc002d35da1f971d5d2183f2c5634c10b098476
24
25 diff --git a/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.3.ebuild b/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.3.ebuild
26 new file mode 100644
27 index 000000000000..394a9500b20f
28 --- /dev/null
29 +++ b/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.3.ebuild
30 @@ -0,0 +1,39 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..11} pypy3 )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="A setuptools_scm plugin for git archives"
42 +HOMEPAGE="
43 + https://github.com/Changaco/setuptools_scm_git_archive/
44 + https://pypi.org/project/setuptools-scm-git-archive/
45 +"
46 +SRC_URI="
47 + https://github.com/Changaco/setuptools_scm_git_archive/archive/${PV}.tar.gz
48 + -> ${P}.gh.tar.gz
49 +"
50 +
51 +LICENSE="MIT"
52 +SLOT="0"
53 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
54 +IUSE=""
55 +
56 +RDEPEND="
57 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
58 +"
59 +BDEPEND="
60 + ${RDEPEND}
61 +"
62 +
63 +distutils_enable_tests pytest
64 +
65 +export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}"
66 +
67 +python_test() {
68 + epytest tests.py
69 +}