1 |
commit: 8032fc02539ad46cdab630488595470d2f565b06 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 10 15:23:15 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 10 16:44:59 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8032fc02 |
7 |
|
8 |
dev-lang/hy: bump to v0.15.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
dev-lang/hy/Manifest | 1 + |
14 |
.../hy-0.15.0-do-not-install-get_version.py.patch | 22 +++++++++++ |
15 |
dev-lang/hy/hy-0.15.0.ebuild | 45 ++++++++++++++++++++++ |
16 |
3 files changed, 68 insertions(+) |
17 |
|
18 |
diff --git a/dev-lang/hy/Manifest b/dev-lang/hy/Manifest |
19 |
index e973c928d09..8a04bde4c5e 100644 |
20 |
--- a/dev-lang/hy/Manifest |
21 |
+++ b/dev-lang/hy/Manifest |
22 |
@@ -6,3 +6,4 @@ DIST hy-0.12.1.tar.gz 379361 BLAKE2B 212a902f287d5b358e9fa4a54ad7bcbf21ed693d6ad |
23 |
DIST hy-0.13.0.tar.gz 383197 BLAKE2B 5ec7826ebe8b4809c1a49d5dac333fd9e60b5a1a5aee947194df47c5f05bada34f2341e779dcf371c0736721cf93d0d114bb0fe4cd46d124b81c226e39aad533 SHA512 a1138c73584f5dc839d8085aaef24da6450789a0d466cea61ecb3740f865ee2aadc52dde3e5c76d945f16fb88c5fdfa4fd9bbcf35cdcd3fc2337fd1f13548b54 |
24 |
DIST hy-0.13.1.tar.gz 383213 BLAKE2B e002218811cadf8db558284e7124114891c76df334ac3cda7b02c57bcdc37c0e65fb202f07f694d6948159051b88631ec9cb22f22207bf23b39c75125bcfcad3 SHA512 40ec426152ef20ff3d4e23043d9ab178a924a2dca3586fd2dfddf5477612246024222b50e62e6f356649c0d035fd202da89e974acf345db6e5c807883dbb86c5 |
25 |
DIST hy-0.14.0.tar.gz 403692 BLAKE2B 4d20574151c443e002e365bceecc11b2bdcd7aa294073c58cba4ec8a958534c9f1256848ef57e4d5dd3ec345decaa53db43768a78af542ba8a59ff50489486b1 SHA512 a04da48592058b8ad3e7d2a787149622bfcf61c01a341ccc166c2e25e18ed7616b6567b529cf4f6d80a9cecf44aac175577ebf185c77e941a11a258f8563da9e |
26 |
+DIST hy-0.15.0.tar.gz 411900 BLAKE2B 88a7500ecebacd7995aba1efbabead22ce656b1d6e275c5c726ce9b27746729344adfd35f2dfb4247c6d41101317eecfd98e0379e84f88ffea85bfaef2101797 SHA512 d4a08c7df494c5f9ae9a48e51b642cf8c30850209765fb80304132b57fb1133a839c82945662550d1417f4cae4e15f25da388be180143ed7b28fe8d5129844cc |
27 |
|
28 |
diff --git a/dev-lang/hy/files/hy-0.15.0-do-not-install-get_version.py.patch b/dev-lang/hy/files/hy-0.15.0-do-not-install-get_version.py.patch |
29 |
new file mode 100644 |
30 |
index 00000000000..088b382a891 |
31 |
--- /dev/null |
32 |
+++ b/dev-lang/hy/files/hy-0.15.0-do-not-install-get_version.py.patch |
33 |
@@ -0,0 +1,22 @@ |
34 |
+Don't install get_version.py |
35 |
+ |
36 |
+This reverts commit 7361b37a7580bb5caaf7696b7bff5954042fd52b. |
37 |
+ |
38 |
+This file is not used at runtime, and the way it was installed violated FHS. |
39 |
+ |
40 |
+--- |
41 |
+ setup.py | 3 --- |
42 |
+ 1 file changed, 3 deletions(-) |
43 |
+ |
44 |
+--- a/setup.py |
45 |
++++ b/setup.py |
46 |
+@@ -58,9 +58,6 @@ def run(self): |
47 |
+ 'hy.core': ['*.hy', '__pycache__/*'], |
48 |
+ 'hy.extra': ['*.hy', '__pycache__/*'], |
49 |
+ }, |
50 |
+- data_files=[ |
51 |
+- ('get_version', ['get_version.py']) |
52 |
+- ], |
53 |
+ author="Paul Tagliamonte", |
54 |
+ author_email="tag@×××××.ag", |
55 |
+ long_description=long_description, |
56 |
|
57 |
diff --git a/dev-lang/hy/hy-0.15.0.ebuild b/dev-lang/hy/hy-0.15.0.ebuild |
58 |
new file mode 100644 |
59 |
index 00000000000..ad923928b2f |
60 |
--- /dev/null |
61 |
+++ b/dev-lang/hy/hy-0.15.0.ebuild |
62 |
@@ -0,0 +1,45 @@ |
63 |
+# Copyright 1999-2018 Gentoo Authors |
64 |
+# Distributed under the terms of the GNU General Public License v2 |
65 |
+ |
66 |
+EAPI="7" |
67 |
+ |
68 |
+RESTRICT="test" # needs some pointy sticks. Seriously. |
69 |
+PYTHON_COMPAT=(python{2_7,3_5,3_6}) |
70 |
+ |
71 |
+inherit distutils-r1 eutils |
72 |
+DESCRIPTION="A LISP dialect running in python" |
73 |
+HOMEPAGE="http://hylang.org/" |
74 |
+SRC_URI="https://github.com/hylang/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
75 |
+LICENSE="MIT" |
76 |
+SLOT="0" |
77 |
+ |
78 |
+KEYWORDS="~amd64 ~x86" |
79 |
+IUSE="test doc" |
80 |
+ |
81 |
+RDEPEND=">=dev-python/astor-0.7.1[${PYTHON_USEDEP}] |
82 |
+ >=dev-python/clint-0.4[${PYTHON_USEDEP}] |
83 |
+ dev-python/flake8[${PYTHON_USEDEP}] |
84 |
+ >=dev-python/funcparserlib-0.3.6[${PYTHON_USEDEP}] |
85 |
+ >=dev-python/rply-0.7.6[${PYTHON_USEDEP}] |
86 |
+ " |
87 |
+DEPEND="${RDEPEND} |
88 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
89 |
+ test? ( |
90 |
+ dev-python/nose[${PYTHON_USEDEP}] |
91 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
92 |
+ )" |
93 |
+ |
94 |
+PATCHES=( "${FILESDIR}"/${PN}-0.15.0-do-not-install-get_version.py.patch ) |
95 |
+ |
96 |
+src_prepare() { |
97 |
+ default |
98 |
+ use doc && HTML_DOCS=( docs/_build/html/. ) |
99 |
+} |
100 |
+ |
101 |
+python_compile_all() { |
102 |
+ use doc && emake docs |
103 |
+} |
104 |
+ |
105 |
+python_test() { |
106 |
+ nosetests -vv || die "Tests failed under ${EPYTHON}" |
107 |
+} |