1 |
commit: 196466c8576fe574a790bc584c3b6b857b0763a8 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 18 15:42:59 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 18 15:43:18 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=196466c8 |
7 |
|
8 |
app-admin/gixy: bump to v0.1.20 |
9 |
|
10 |
- EAPI bumped to EAPI=7 |
11 |
|
12 |
- SRC moved from PyPi to GitHub to get tarball with tests |
13 |
|
14 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
15 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
16 |
|
17 |
app-admin/gixy/Manifest | 1 + |
18 |
app-admin/gixy/gixy-0.1.20.ebuild | 42 +++++++++++++++++++++++++++++++++++++++ |
19 |
2 files changed, 43 insertions(+) |
20 |
|
21 |
diff --git a/app-admin/gixy/Manifest b/app-admin/gixy/Manifest |
22 |
index b4cf8d121a7..42e6c832295 100644 |
23 |
--- a/app-admin/gixy/Manifest |
24 |
+++ b/app-admin/gixy/Manifest |
25 |
@@ -1,2 +1,3 @@ |
26 |
+DIST gixy-0.1.20.tar.gz 710691 BLAKE2B 09043925d950a9a35de4df91ef3c2f9e5ca4458227320555a109e50d0838fb10ae22d086cdfc39c0d76bcd051c1a7e1d5e291354cc457cff398be8d164cbfde6 SHA512 d666e758c2746c201a11b67b4b99cee1bd3406085eb1c0aa9ae520b72d3a1273e09e3475226a6e54fbfbcefe65b3be0fc877e66cbaa81f384f757767852bc08e |
27 |
DIST gixy-0.1.5.tar.gz 32594 BLAKE2B c92b95e4c17e07b2367337ab8dfa742d0eb995b6c979c4ba25e9f83e446d95dc8c89013b6f45e467c0dcad275b8f0ca4a163a7eb6ae0c2867e4102fe4765a8be SHA512 63c41a16f1a1d16664c660150bf1603b87d2a2b474db58bb13af79e123b372a666b94aa96ef081af89fb5608c7f9a43e03750afb80d52c212c06d3407c413e38 |
28 |
DIST gixy-0.1.8.tar.gz 35176 BLAKE2B 3e875f63044244b19a7b881c0082c6ce91a2cdc9d0245c741e1b3f4cbcff70e0787d212c09ce2ef157c5a37942a87f9868975c43102df54f79f0b29721cd4acd SHA512 fe45522dbee238282f05f11fc22bdff6f04df117d9b909aa3a9c7ff0aef3c376e65119e91e8e562a2ea5d9c2e85a1e43462eb3ce14f30c171235bd44097c7a94 |
29 |
|
30 |
diff --git a/app-admin/gixy/gixy-0.1.20.ebuild b/app-admin/gixy/gixy-0.1.20.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..077f33c3adf |
33 |
--- /dev/null |
34 |
+++ b/app-admin/gixy/gixy-0.1.20.ebuild |
35 |
@@ -0,0 +1,42 @@ |
36 |
+# Copyright 1999-2018 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI="7" |
40 |
+ |
41 |
+PYTHON_COMPAT=( python{2_7,3_5,3_6} ) |
42 |
+ |
43 |
+inherit distutils-r1 |
44 |
+ |
45 |
+DESCRIPTION="Nginx configuration static analyzer" |
46 |
+HOMEPAGE="https://github.com/yandex/gixy" |
47 |
+# Use GitHub source insted PyPi to get tarball with tests |
48 |
+SRC_URI="https://github.com/yandex/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="MPL-2.0" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+IUSE="test" |
54 |
+ |
55 |
+ |
56 |
+ |
57 |
+RDEPEND=">=dev-python/pyparsing-1.5.5[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/cached-property-1.2.0[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/configargparse-0.11.0[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/jinja-2.8[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/six-1.1.0[${PYTHON_USEDEP}]" |
62 |
+ |
63 |
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
64 |
+ test? ( |
65 |
+ dev-python/nose[${PYTHON_USEDEP}] |
66 |
+ ${RDEPEND} |
67 |
+ ) |
68 |
+" |
69 |
+ |
70 |
+python_prepare() { |
71 |
+ sed -i -e "/argparse/d" setup.py || die |
72 |
+ distutils-r1_python_prepare_all |
73 |
+} |
74 |
+ |
75 |
+python_test() { |
76 |
+ nosetests -v || die |
77 |
+} |