From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-python/pyrqlite/Manifest | 4 ++++ dev-python/pyrqlite/metadata.xml | 10 +++++++++ dev-python/pyrqlite/pyrqlite-2.0.ebuild | 38 ++++++++++++++++++++++++++++++++ dev-python/pyrqlite/pyrqlite-9999.ebuild | 37 +++++++++++++++++++++++++++++++ 4 files changed, 89 insertions(+) create mode 100644 dev-python/pyrqlite/Manifest create mode 100644 dev-python/pyrqlite/metadata.xml create mode 100644 dev-python/pyrqlite/pyrqlite-2.0.ebuild create mode 100644 dev-python/pyrqlite/pyrqlite-9999.ebuild (limited to 'dev-python/pyrqlite') diff --git a/dev-python/pyrqlite/Manifest b/dev-python/pyrqlite/Manifest new file mode 100644 index 000000000000..c05aaca61fbb --- /dev/null +++ b/dev-python/pyrqlite/Manifest @@ -0,0 +1,4 @@ +DIST pyrqlite-2.0.tar.gz 7224 BLAKE2B f3de4d4d6f0598c6dc21e323db4c717f7f8dc85f6e592ea9dfb209ba778d1f16049d40e39b8d98c94dec61c02949ba1fabeae29e25ec8afbe4810df52b6210df SHA512 9d284161e492683955000dd3e3f0593b79e69ba5eb087bee4d3ffc1e4be9de1c362212936b10e1781538eacd838e6ed22adfc82e8cc0dd00e1d3318a4dc14720 +EBUILD pyrqlite-2.0.ebuild 915 BLAKE2B c3f4ae1ef5e681cce9c76e92cb1e0afc4c588d5e6d976b88163cdaad0c009200201409e9c6e0f1f2597401d289aab70dd1da7d80d5e25d3147fa8cc18f91f740 SHA512 adc588c35743483964dc38fb29835b64a99e8df859d4d212eca5b2ed6cadfc4fbc528b00f784daff283f402bf8c5b4bece2a7e83120f976f46b591ddbe0dd636 +EBUILD pyrqlite-9999.ebuild 835 BLAKE2B 7eedfa3d506f8a8bb89d3291996e65cf852ac65872facf5013c6aeaf10d062bcde86332e28eb7527a4368b76b007d9a8d1f7ef6855b73b783f5dcd31f9db17c0 SHA512 59e7fa305f3450440b0b90a7b493a79e0f3038c0c8e1248257f923247637ffe76f5997f8ae84036bc16f1481200c22783df3bb38cda7ae884c524d4ef71f05da +MISC metadata.xml 306 BLAKE2B 6848a797588465344547135639af1cdae67a9db23851e940a5f5aed347ad4c6e8114c2fc88159370356bb4360c926d4b44e1f4474c98a7577e3dd64403100d72 SHA512 f26c1056eb200c8b60e2d0f7ff54447465115afecd34949ba8358f812d95dea6d877928010ac81c8d36261479ff6a61982350a403546dd09e7f4bf9a082a9d7f diff --git a/dev-python/pyrqlite/metadata.xml b/dev-python/pyrqlite/metadata.xml new file mode 100644 index 000000000000..7a0a25fc94c3 --- /dev/null +++ b/dev-python/pyrqlite/metadata.xml @@ -0,0 +1,10 @@ + + + + + zmedico@gentoo.org + + + rqlite/pyrqlite + + diff --git a/dev-python/pyrqlite/pyrqlite-2.0.ebuild b/dev-python/pyrqlite/pyrqlite-2.0.ebuild new file mode 100644 index 000000000000..b3eddd54cb3e --- /dev/null +++ b/dev-python/pyrqlite/pyrqlite-2.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) + +inherit distutils-r1 + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 +fi + +DESCRIPTION="Python client for rqlite" +EGIT_REPO_URI="https://github.com/rqlite/pyrqlite.git" +HOMEPAGE="https://github.com/rqlite/pyrqlite" +SRC_URI="${EGIT_REPO_URI%.git}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] + )" + +src_prepare() { + sed -e "s:^__version__ = .*:__version__ = '${PV}':" -i src/${PN}/constants.py || die + distutils-r1_src_prepare +} + +python_test() { + esetup.py test || die "tests failed" + esetup.py lint -f text -E || die "pylint failed" +} diff --git a/dev-python/pyrqlite/pyrqlite-9999.ebuild b/dev-python/pyrqlite/pyrqlite-9999.ebuild new file mode 100644 index 000000000000..0ead7f8d41c6 --- /dev/null +++ b/dev-python/pyrqlite/pyrqlite-9999.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) + +inherit distutils-r1 + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 +fi + +DESCRIPTION="Python client for rqlite" +EGIT_REPO_URI="https://github.com/rqlite/pyrqlite.git" +HOMEPAGE="https://github.com/rqlite/pyrqlite" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] + )" + +src_prepare() { + sed -e "s:^__version__ = .*:__version__ = '${PV}':" -i src/${PN}/constants.py || die + distutils-r1_src_prepare +} + +python_test() { + esetup.py test || die "tests failed" + esetup.py lint -f text -E || die "pylint failed" +} -- cgit v1.2.3