Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/setuptools_scm_git_archive/
Date: Wed, 11 Mar 2020 21:29:02
Message-Id: 1583962132.2b63e7b3f8183a3d97f927d5de481aa41511a689.pacho@gentoo
1 commit: 2b63e7b3f8183a3d97f927d5de481aa41511a689
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 11 20:08:28 2020 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 11 21:28:52 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b63e7b3
7
8 dev-python/setuptools_scm_git_archive: Bump to 1.1
9
10 Package-Manager: Portage-2.3.93, Repoman-2.3.20
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 dev-python/setuptools_scm_git_archive/Manifest | 1 +
14 .../setuptools_scm_git_archive-1.1.ebuild | 31 ++++++++++++++++++++++
15 2 files changed, 32 insertions(+)
16
17 diff --git a/dev-python/setuptools_scm_git_archive/Manifest b/dev-python/setuptools_scm_git_archive/Manifest
18 index 142571b1489..baa0a1c8098 100644
19 --- a/dev-python/setuptools_scm_git_archive/Manifest
20 +++ b/dev-python/setuptools_scm_git_archive/Manifest
21 @@ -1 +1,2 @@
22 DIST setuptools_scm_git_archive-1.0.tar.gz 2553 BLAKE2B a5ed592384800585b3f58b40571edc929872908bcb5e2d012cefe34e6cd84ee420a3bbbb9e856ef0fbbb972931abb4913d245b98d54b82aaf659247b92a1303e SHA512 fd1a06c86d1a8394e37b91d374b93dd5902906795360688b49077a4530240fd6be575ee66d51c3f61931bc837711bc3c59491d7c9cd165c34e2ec1f314b4cfbc
23 +DIST setuptools_scm_git_archive-1.1.tar.gz 2584 BLAKE2B 7c7569a92300be966b5447b1ab6c30a982c837efdb7a125173f6014420d78cf28e0d8cb0f04c4349ce364219e1567bcbc2e13bd85cb7627d3bdbae9c7974385b SHA512 73783d60d33782fb18012e64685db6333a2dda1be41ce75e0cd74a81585d8ebb7c85f23371056a42974c93b2d4a0633338945cf2a2219b0ee2a21f063dad8809
24
25 diff --git a/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1.ebuild b/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1.ebuild
26 new file mode 100644
27 index 00000000000..0747a089249
28 --- /dev/null
29 +++ b/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1.ebuild
30 @@ -0,0 +1,31 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="A setuptools_scm plugin for git archives"
40 +HOMEPAGE="https://github.com/Changaco/setuptools_scm_git_archive"
41 +SRC_URI="https://github.com/Changaco/setuptools_scm_git_archive/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
46 +IUSE=""
47 +
48 +DEPEND="
49 + dev-python/setuptools[${PYTHON_USEDEP}]
50 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
51 +"
52 +RDEPEND="${DEPEND}"
53 +
54 +src_prepare() {
55 + export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}"
56 + distutils-r1_src_prepare
57 +}
58 +
59 +python_test() {
60 + esetup.py test
61 +}