summaryrefslogtreecommitdiff
path: root/dev-python/webassets
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-03-10 19:15:28 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-03-10 19:15:28 +0000
commitda6a52f691ef980bab92d003d5df8f463c623af8 (patch)
tree4d89e0d5915f8a3f57c8f9c17420ba3f7b44b7b2 /dev-python/webassets
parent80208fb578cf92cc308906660ca6d7860c6b2a1f (diff)
gentoo resync : 10.03.2018
Diffstat (limited to 'dev-python/webassets')
-rw-r--r--dev-python/webassets/Manifest2
-rw-r--r--dev-python/webassets/webassets-0.12.1.ebuild38
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/webassets/Manifest b/dev-python/webassets/Manifest
index d7f874cdb39d..88ff14027df5 100644
--- a/dev-python/webassets/Manifest
+++ b/dev-python/webassets/Manifest
@@ -1,3 +1,5 @@
+DIST webassets-0.12.1.tar.gz 181402 BLAKE2B 907a4184e0274a9543bda2b7c2fdfeabef346b0920d98e04abbfb3b9858ecae3c0da32b65efe8e4b52d82ab938e182e2e37f005ba25afb1d62235dcc5bc9bee7 SHA512 1e65956afc63dd4bbf43b3b7e220ec6edb8d69d817c6361de67bf8fc7a90b34d3f7e4d0bae4cc45cb3fc043802d2e5d5c8a7cc87421186000212a36605fbc26e
DIST webassets-0.12.tar.gz 180368 BLAKE2B eb7484d724d41467a8c04c1407cba9666abc77d52b06736f489f20593deb265f30d682ce26ae8bec5f34bcd66b11d052c5ee240d9dab191e7c471c8ec62f9916 SHA512 ad95e5345f9f736389fc684c5b51bb47ad5abb3bdca03a3a4649892095d139722aaf5aa57677997fe869e751b1b82a63c3a882c58005bc6a2ab954bc479447b7
+EBUILD webassets-0.12.1.ebuild 981 BLAKE2B 1499c01e19bf8503ce339bf3f4689f97a8434f3ea2bcaa3fe1341d95aa3e4efb647c824c590b939456cbf2513879307aab541701f13602f7bf67c850b9d0bf17 SHA512 40d20fa5f6f3f0471ae7a308f56043dca4e8f4ec0739c559876d74c107072112c6429c9dea3332eaaf47a2294f621a3f1ba54f95a8a3b8f51eb52f3197d0ab3f
EBUILD webassets-0.12.ebuild 977 BLAKE2B ecaf9a32ee27658c061c4d6dbbd6955cbd21e6687cc49da3b1d785d7cb39d3843f3e2913ce48596ce29fab7519285eacb583d952c9009ab444c4faafbf9a902c SHA512 990a66505cb38a3d83e1c74d9ee1b7e961ef415777e1f97a62a32a79f6600a93caa97b49008ab14db5e0c026af9b0346790537ae3eb23db535189ff949f0772f
MISC metadata.xml 334 BLAKE2B 070bcff10f1f0b3fdf01e30021d06ecfdc49952aedfde4a18c254eb9f160c8bf990d5816bdb510995818a73a2da25a77073a672d375cd07684214a325283e390 SHA512 5bcc0fe8286771e758641d97206f14e447f6e0ff49d6c6e91285e0cb6eb5a4116760851996679c79dcf5fdfb4c0252f299676847612fc345fca020e44fd4d2d8
diff --git a/dev-python/webassets/webassets-0.12.1.ebuild b/dev-python/webassets/webassets-0.12.1.ebuild
new file mode 100644
index 000000000000..ccd9940ca276
--- /dev/null
+++ b/dev-python/webassets/webassets-0.12.1.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=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Asset management for Python web development"
+HOMEPAGE="https://github.com/miracle2k/webassets"
+SRC_URI="https://github.com/miracle2k/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+# ^^ pypi tarball is missing tests
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/mock[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+ # webassets wants /usr/bin/babel from babeljs,
+ # but we have only one from openbabel
+ # ... and we don't have postcss
+ sed -i \
+ -e 's|\(TestBabel\)|No\1|' \
+ -e 's|\(TestAutoprefixer6Filter\)|No\1|' \
+ tests/test_filters.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ py.test -v || die
+}