1 |
commit: bd30167a83639ac5868da6d91e016127a1e70737 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 15 21:26:05 2018 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 15 21:27:06 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd30167a |
7 |
|
8 |
dev-python/setuptools_scm_git_archive: Add package needed by pyclipper |
9 |
|
10 |
Bug: https://bugs.gentoo.org/668726 |
11 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
13 |
|
14 |
dev-python/setuptools_scm_git_archive/Manifest | 1 + |
15 |
dev-python/setuptools_scm_git_archive/metadata.xml | 8 ++++++ |
16 |
.../setuptools_scm_git_archive-1.0.ebuild | 31 ++++++++++++++++++++++ |
17 |
3 files changed, 40 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/setuptools_scm_git_archive/Manifest b/dev-python/setuptools_scm_git_archive/Manifest |
20 |
new file mode 100644 |
21 |
index 00000000000..142571b1489 |
22 |
--- /dev/null |
23 |
+++ b/dev-python/setuptools_scm_git_archive/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST setuptools_scm_git_archive-1.0.tar.gz 2553 BLAKE2B a5ed592384800585b3f58b40571edc929872908bcb5e2d012cefe34e6cd84ee420a3bbbb9e856ef0fbbb972931abb4913d245b98d54b82aaf659247b92a1303e SHA512 fd1a06c86d1a8394e37b91d374b93dd5902906795360688b49077a4530240fd6be575ee66d51c3f61931bc837711bc3c59491d7c9cd165c34e2ec1f314b4cfbc |
26 |
|
27 |
diff --git a/dev-python/setuptools_scm_git_archive/metadata.xml b/dev-python/setuptools_scm_git_archive/metadata.xml |
28 |
new file mode 100644 |
29 |
index 00000000000..3da97a9953c |
30 |
--- /dev/null |
31 |
+++ b/dev-python/setuptools_scm_git_archive/metadata.xml |
32 |
@@ -0,0 +1,8 @@ |
33 |
+<?xml version="1.0" encoding="UTF-8"?> |
34 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
35 |
+<pkgmetadata> |
36 |
+ <maintainer type="person"> |
37 |
+ <email>pacho@g.o</email> |
38 |
+ <name>Pacho Ramos</name> |
39 |
+ </maintainer> |
40 |
+</pkgmetadata> |
41 |
|
42 |
diff --git a/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.0.ebuild b/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.0.ebuild |
43 |
new file mode 100644 |
44 |
index 00000000000..350a0c13b3e |
45 |
--- /dev/null |
46 |
+++ b/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.0.ebuild |
47 |
@@ -0,0 +1,31 @@ |
48 |
+# Copyright 1999-2018 Gentoo Authors |
49 |
+# Distributed under the terms of the GNU General Public License v2 |
50 |
+ |
51 |
+EAPI=7 |
52 |
+ |
53 |
+PYTHON_COMPAT=( python2_7 python3_{6,7} ) |
54 |
+inherit distutils-r1 |
55 |
+ |
56 |
+DESCRIPTION="A setuptools_scm plugin for git archives" |
57 |
+HOMEPAGE="https://github.com/Changaco/setuptools_scm_git_archive" |
58 |
+SRC_URI="https://github.com/Changaco/setuptools_scm_git_archive/archive/${PV}.tar.gz -> ${P}.tar.gz" |
59 |
+ |
60 |
+LICENSE="MIT" |
61 |
+SLOT="0" |
62 |
+KEYWORDS="~amd64" |
63 |
+IUSE="" |
64 |
+ |
65 |
+DEPEND=" |
66 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
67 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
68 |
+" |
69 |
+RDEPEND="${DEPEND}" |
70 |
+ |
71 |
+src_prepare() { |
72 |
+ export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}" |
73 |
+ distutils-r1_src_prepare |
74 |
+} |
75 |
+ |
76 |
+python_test() { |
77 |
+ esetup.py test |
78 |
+} |