summaryrefslogtreecommitdiff
path: root/dev-python/slimit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /dev-python/slimit
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'dev-python/slimit')
-rw-r--r--dev-python/slimit/Manifest2
-rw-r--r--dev-python/slimit/slimit-0.8.1-r1.ebuild16
2 files changed, 7 insertions, 11 deletions
diff --git a/dev-python/slimit/Manifest b/dev-python/slimit/Manifest
index fa3cd8e27c23..2b7a54085132 100644
--- a/dev-python/slimit/Manifest
+++ b/dev-python/slimit/Manifest
@@ -1,4 +1,4 @@
AUX slimit-0.8.1-fix-python3.patch 18813 BLAKE2B d4cdfcce63635ad35ebd7c1c4a42ee9b1d4fba2dea4aac3a97274c98e012b615dbd121413243e1279c00ad731527bf311aa5fe4dc25fa174b5142abb4f990c32 SHA512 fad15e30fea0000f797db6e113ca83d847e412c5906e42d15bf1d8afab857d617403f92b733ebad761cd6182e16e5a8f21081829d2410f9842bd8fa8f093b8e8
DIST slimit-0.8.1.tar.gz 90096 BLAKE2B 9bf7a00fa7aa48a47950b2db66868c03e3923ed7b878ac4d93bd92becc1909cb79a15365db8185f6d8872028e0d01343394e4c768149155bc6aaeb4acf69954f SHA512 ce33dd15c755b8327a73121322b525738b5f8d83c08b0b6329fa6e090575c68883b4bfa29df04544e5f566f3a81a60e480b5e760e2b0e67644a7db5e25604cc0
-EBUILD slimit-0.8.1-r1.ebuild 1115 BLAKE2B 7aa39e68359a71e4f7fd340b2e70a0dc8fcb2176dc383a4c64a24a482e8bc3f650a66baf23ad7f2c47c48d25fcb23a522715f78be1a7a39f005e87e956a6c7ab SHA512 83f1ce88d951d92fd3a3690d1b8a8a65081e8801f66aa76abbd3a610c4990625c47df825551e275fd383d8c1814774e37fa30ec1a9e521a7498dbfc515665076
+EBUILD slimit-0.8.1-r1.ebuild 967 BLAKE2B d3beb635fd907ec99fb034b5f142c202e03af334cb1daeb879f3526c391f421035ab33e08782338927fc93e6728dcdab3820ae82733830982a102bf2e699f3b4 SHA512 28ead777a630eea1747677ad5b9e158743318fe6b205ff3dc74d82cc6dec01879a951f7179e9f6a0e7d5a893d8fd5d1ccbdb109326085f946e9d8da82e70c057
MISC metadata.xml 381 BLAKE2B e72dd60346098d4cb6e0886a32c5bea0139c33eb086282ad337b3125154f4b7badec99e22b539430c38ab224a50e0da28863c85eb91f5f03243328b327f75999 SHA512 54ac346d7d9d2f0d267ad22b777d8e504fdd9f2b5e9aeb1d7465d0047c820208e323e24a57cdc0f5361c3ef35feece064b67d3d42c6934562362cda319110986
diff --git a/dev-python/slimit/slimit-0.8.1-r1.ebuild b/dev-python/slimit/slimit-0.8.1-r1.ebuild
index c65e63cdd426..b5af60f39209 100644
--- a/dev-python/slimit/slimit-0.8.1-r1.ebuild
+++ b/dev-python/slimit/slimit-0.8.1-r1.ebuild
@@ -3,7 +3,9 @@
EAPI=6
+DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( pypy3 python3_6 )
+
inherit distutils-r1
DESCRIPTION="A JavaScript minifier written in Python"
@@ -13,19 +15,13 @@ SRC_URI="https://github.com/rspivak/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
- test? (
- dev-python/pytest[${PYTHON_USEDEP}]
- dev-python/pytest-runner[${PYTHON_USEDEP}]
- )"
+RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]"
PATCHES=( "${FILESDIR}/${P}-fix-python3.patch" )
+distutils_enable_tests pytest
+
python_compile() {
distutils-r1_python_compile
@@ -38,5 +34,5 @@ python_compile() {
}
python_test() {
- esetup.py pytest --addopts "${BUILD_DIR}" || die "Testing failed with ${EPYTHON}"
+ pytest -vv "${BUILD_DIR}" || die "Tests failed with ${EPYTHON}"
}