summaryrefslogtreecommitdiff
path: root/dev-python/pyrqlite
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-05-14 11:09:11 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-05-14 11:09:11 +0100
commitdeba8115d2c2af26df42966b91ef04ff4dd79cde (patch)
tree9a48f42594e1a9e6b2020d5535a784314434d7a7 /dev-python/pyrqlite
parent38423c67c8a23f6a1bc42038193182e2da3116eb (diff)
gentoo resync : 14.05.2020
Diffstat (limited to 'dev-python/pyrqlite')
-rw-r--r--dev-python/pyrqlite/Manifest4
-rw-r--r--dev-python/pyrqlite/pyrqlite-2.0.ebuild16
-rw-r--r--dev-python/pyrqlite/pyrqlite-9999.ebuild14
3 files changed, 5 insertions, 29 deletions
diff --git a/dev-python/pyrqlite/Manifest b/dev-python/pyrqlite/Manifest
index dab808365819..dfaf86791de6 100644
--- a/dev-python/pyrqlite/Manifest
+++ b/dev-python/pyrqlite/Manifest
@@ -1,4 +1,4 @@
DIST pyrqlite-2.0.tar.gz 7224 BLAKE2B f3de4d4d6f0598c6dc21e323db4c717f7f8dc85f6e592ea9dfb209ba778d1f16049d40e39b8d98c94dec61c02949ba1fabeae29e25ec8afbe4810df52b6210df SHA512 9d284161e492683955000dd3e3f0593b79e69ba5eb087bee4d3ffc1e4be9de1c362212936b10e1781538eacd838e6ed22adfc82e8cc0dd00e1d3318a4dc14720
-EBUILD pyrqlite-2.0.ebuild 927 BLAKE2B 7b67bdef9546cb8865242d229b9f3007eb8c3b155eeb17f60f29e5acb2a3be26b34e78013d346a8a73872a761822af3ed9077c7970bd9ec4967a1d96e2cf3cb4 SHA512 3986bbecf056182684eb7b2c653631d9d2fb2c0abcff08e5468ed4fe353f8bf54513210458adf0061793e2e2397666b1e6dee1bf450d862ae3cc653d05184ed2
-EBUILD pyrqlite-9999.ebuild 847 BLAKE2B e1c4deac129e7c9f4f06da5a2b79a6b36955acb06202015a12fa08a4e8751175cf33b7c4899458f11bbf79441aa1c6a0079f2e955ebfbfe67a04389e4ce27790 SHA512 af5368705c7ec582f058e7d8566140ca76d8ccbcb52b50779d7c365f381816ea14f92e2a221a976ffc8f823511887c1ed88fadd3facf75612a66a7ccbccb1bc3
+EBUILD pyrqlite-2.0.ebuild 638 BLAKE2B 299430fbd475fe2f87caac36d99fc49c43011384d192163b0416b8dfdd31b738caed14267658af4fdec20af8323579678bcbaab361402b51e591684f1357e21d SHA512 6b5e7340f32782cb7c4a077c1bb7fb8f9791b381f23f3ee5129b98bc44efdd9e4e910f2fb61e86f85008a84752cf5f1a91750092c0570bf99cb73fee3884b4e2
+EBUILD pyrqlite-9999.ebuild 552 BLAKE2B b7e7a400f93112f6e3d52b41aa03c968f05faba3513e3de9c675cec9d1eadd6f119db1b14218307a1b28d860bdec79c03d3438aaa900355382caaebfbca0f282 SHA512 17648596b0239104ab41a7cf361b06552dad607d9d0a6857f7724374e9d433943383746f59e63d51e6859d3dd5d36e38c2dfd17f605b82e8c3189ae19fbe4bf1
MISC metadata.xml 306 BLAKE2B 6848a797588465344547135639af1cdae67a9db23851e940a5f5aed347ad4c6e8114c2fc88159370356bb4360c926d4b44e1f4474c98a7577e3dd64403100d72 SHA512 f26c1056eb200c8b60e2d0f7ff54447465115afecd34949ba8358f812d95dea6d877928010ac81c8d36261479ff6a61982350a403546dd09e7f4bf9a082a9d7f
diff --git a/dev-python/pyrqlite/pyrqlite-2.0.ebuild b/dev-python/pyrqlite/pyrqlite-2.0.ebuild
index 8b7ef41d1320..60b83f0699fa 100644
--- a/dev-python/pyrqlite/pyrqlite-2.0.ebuild
+++ b/dev-python/pyrqlite/pyrqlite-2.0.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
@@ -18,22 +18,10 @@ SRC_URI="${EGIT_REPO_URI%.git}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- test? (
- dev-python/pytest[${PYTHON_USEDEP}]
- dev-python/pytest-cov[${PYTHON_USEDEP}]
- dev-python/pylint[${PYTHON_USEDEP}]
- )"
+distutils_enable_tests pytest
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
index 342b0c8e9e27..4ad296a7f2cd 100644
--- a/dev-python/pyrqlite/pyrqlite-9999.ebuild
+++ b/dev-python/pyrqlite/pyrqlite-9999.ebuild
@@ -17,22 +17,10 @@ HOMEPAGE="https://github.com/rqlite/pyrqlite"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
-IUSE="test"
-RESTRICT="!test? ( test )"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- test? (
- dev-python/pytest[${PYTHON_USEDEP}]
- dev-python/pytest-cov[${PYTHON_USEDEP}]
- dev-python/pylint[${PYTHON_USEDEP}]
- )"
+distutils_enable_tests pytest
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"
-}