diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2018-10-18 17:42:59 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2018-10-18 17:43:18 +0200 |
commit | 196466c8576fe574a790bc584c3b6b857b0763a8 (patch) | |
tree | e60ff435b457b275845372a534b68f35e79edb15 /app-admin/gixy | |
parent | sys-kernel/vanilla-sources: Automated version bump to {4.9.134,4.14.77,4.18.1... (diff) | |
download | gentoo-196466c8576fe574a790bc584c3b6b857b0763a8.tar.gz gentoo-196466c8576fe574a790bc584c3b6b857b0763a8.tar.bz2 gentoo-196466c8576fe574a790bc584c3b6b857b0763a8.zip |
app-admin/gixy: bump to v0.1.20
- EAPI bumped to EAPI=7
- SRC moved from PyPi to GitHub to get tarball with tests
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'app-admin/gixy')
-rw-r--r-- | app-admin/gixy/Manifest | 1 | ||||
-rw-r--r-- | app-admin/gixy/gixy-0.1.20.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/app-admin/gixy/Manifest b/app-admin/gixy/Manifest index b4cf8d121a79..42e6c8322951 100644 --- a/app-admin/gixy/Manifest +++ b/app-admin/gixy/Manifest @@ -1,2 +1,3 @@ +DIST gixy-0.1.20.tar.gz 710691 BLAKE2B 09043925d950a9a35de4df91ef3c2f9e5ca4458227320555a109e50d0838fb10ae22d086cdfc39c0d76bcd051c1a7e1d5e291354cc457cff398be8d164cbfde6 SHA512 d666e758c2746c201a11b67b4b99cee1bd3406085eb1c0aa9ae520b72d3a1273e09e3475226a6e54fbfbcefe65b3be0fc877e66cbaa81f384f757767852bc08e DIST gixy-0.1.5.tar.gz 32594 BLAKE2B c92b95e4c17e07b2367337ab8dfa742d0eb995b6c979c4ba25e9f83e446d95dc8c89013b6f45e467c0dcad275b8f0ca4a163a7eb6ae0c2867e4102fe4765a8be SHA512 63c41a16f1a1d16664c660150bf1603b87d2a2b474db58bb13af79e123b372a666b94aa96ef081af89fb5608c7f9a43e03750afb80d52c212c06d3407c413e38 DIST gixy-0.1.8.tar.gz 35176 BLAKE2B 3e875f63044244b19a7b881c0082c6ce91a2cdc9d0245c741e1b3f4cbcff70e0787d212c09ce2ef157c5a37942a87f9868975c43102df54f79f0b29721cd4acd SHA512 fe45522dbee238282f05f11fc22bdff6f04df117d9b909aa3a9c7ff0aef3c376e65119e91e8e562a2ea5d9c2e85a1e43462eb3ce14f30c171235bd44097c7a94 diff --git a/app-admin/gixy/gixy-0.1.20.ebuild b/app-admin/gixy/gixy-0.1.20.ebuild new file mode 100644 index 000000000000..077f33c3adfb --- /dev/null +++ b/app-admin/gixy/gixy-0.1.20.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python{2_7,3_5,3_6} ) + +inherit distutils-r1 + +DESCRIPTION="Nginx configuration static analyzer" +HOMEPAGE="https://github.com/yandex/gixy" +# Use GitHub source insted PyPi to get tarball with tests +SRC_URI="https://github.com/yandex/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + + + +RDEPEND=">=dev-python/pyparsing-1.5.5[${PYTHON_USEDEP}] + >=dev-python/cached-property-1.2.0[${PYTHON_USEDEP}] + >=dev-python/configargparse-0.11.0[${PYTHON_USEDEP}] + >=dev-python/jinja-2.8[${PYTHON_USEDEP}] + >=dev-python/six-1.1.0[${PYTHON_USEDEP}]" + +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + ${RDEPEND} + ) +" + +python_prepare() { + sed -i -e "/argparse/d" setup.py || die + distutils-r1_python_prepare_all +} + +python_test() { + nosetests -v || die +} |