diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/webassets |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/webassets')
-rw-r--r-- | dev-python/webassets/Manifest | 5 | ||||
-rw-r--r-- | dev-python/webassets/metadata.xml | 11 | ||||
-rw-r--r-- | dev-python/webassets/webassets-0.12.ebuild | 38 |
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/webassets/Manifest b/dev-python/webassets/Manifest new file mode 100644 index 000000000000..11eccf28239c --- /dev/null +++ b/dev-python/webassets/Manifest @@ -0,0 +1,5 @@ +DIST webassets-0.12.tar.gz 180368 SHA256 99bc8218140b903e7d6e51d13f928ed61df275e36f00720243ac1ec31efc3701 SHA512 ad95e5345f9f736389fc684c5b51bb47ad5abb3bdca03a3a4649892095d139722aaf5aa57677997fe869e751b1b82a63c3a882c58005bc6a2ab954bc479447b7 WHIRLPOOL fd7a30733a5565587987a75af7ecedc475c519e95ea60dc57df4636a9ce887febef7840fdf1e2eef066a81c30f9fe8c967dc175fd8efa2a5dcd38791924c01e1 +EBUILD webassets-0.12.ebuild 977 SHA256 88f4eefddd97911a02351cd48d2c5dc3426e7e266d905612cb73cfae7861b85a SHA512 990a66505cb38a3d83e1c74d9ee1b7e961ef415777e1f97a62a32a79f6600a93caa97b49008ab14db5e0c026af9b0346790537ae3eb23db535189ff949f0772f WHIRLPOOL 38820ba3d31690050662d725d24fa28d304c74ebcd952f9b5c13def6ca0e37680ae9be29f7fc99f5f5e0eb8f1238b8c35aa8c00d8b7e54c44bf80acb89f4c0c2 +MISC ChangeLog 2726 SHA256 59bcbee3e2f47c3f96042b578db3ac5cd03d57ad5175b3b456e8b5dda0059f36 SHA512 5baf2961f9bbceae8046ac36ccd28c752f088f2533f833580e576ffb197683b097207ed3aaf65aeba0d766ee727618b73d381496d78ede3d529bf506f9bfd12e WHIRLPOOL 1adbd36c32d4c758fd091d29c3638e0040eadd902a7c18ce43b747f7f4ce1b503a00103b26370bdfdd75beb9709070bd5e6182a29114e86b147f72bc9c193098 +MISC ChangeLog-2015 918 SHA256 01d971e8627853275febd8438e9947aad5cf7b4118e0aff42097d4dff53a7ede SHA512 f747dc63adff1163e166d357fe7f8af671671155eee90abf4e8a37483aee8c11fb69be37017a7cc8874c5b5432f977a115627a36eb60554d94be4647432d1a16 WHIRLPOOL 5eecdd4cf71202925e97633602458068d37152d60dd7d7cff05c7aa155e45a7ed15ead7a91282a199357ad91ea982602b3d5c03b31d568b780ffdd948511bd89 +MISC metadata.xml 334 SHA256 b98d158c57bc568556ac0145dcf3c318047076cb9c616d8f28edc84c0fcc08ef SHA512 5bcc0fe8286771e758641d97206f14e447f6e0ff49d6c6e91285e0cb6eb5a4116760851996679c79dcf5fdfb4c0252f299676847612fc345fca020e44fd4d2d8 WHIRLPOOL fc127d617bb792fb61b737a5b0833a4bd8456acc2176ab6b8da4ecae44319607c4e13ae5357b4ed09d58ea10496a1a022fef057319485f377d8162b872981c1f diff --git a/dev-python/webassets/metadata.xml b/dev-python/webassets/metadata.xml new file mode 100644 index 000000000000..66aeb500eb66 --- /dev/null +++ b/dev-python/webassets/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="github">miracle2k/webassets</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/webassets/webassets-0.12.ebuild b/dev-python/webassets/webassets-0.12.ebuild new file mode 100644 index 000000000000..8dc45cda391c --- /dev/null +++ b/dev-python/webassets/webassets-0.12.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5} ) + +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 +} |