From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-python/assets/Manifest | 5 +++++ dev-python/assets/assets-0.1.1-r1.ebuild | 27 +++++++++++++++++++++++++++ dev-python/assets/metadata.xml | 22 ++++++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 dev-python/assets/Manifest create mode 100644 dev-python/assets/assets-0.1.1-r1.ebuild create mode 100644 dev-python/assets/metadata.xml (limited to 'dev-python/assets') diff --git a/dev-python/assets/Manifest b/dev-python/assets/Manifest new file mode 100644 index 000000000000..fead29e85fb4 --- /dev/null +++ b/dev-python/assets/Manifest @@ -0,0 +1,5 @@ +DIST assets-0.1.1.tar.gz 29938 SHA256 c057112d731096c3856bc1121eaaa7341b3fd576b559657810bb0dfa18edd019 SHA512 373dfababd91bf28929dbc5562027c2bad14dac84d822c65e899137f5f5f9dfe3041b16dac08bc811be9b3fb2f553869643fc200ae9198eb046cd02b420714c8 WHIRLPOOL 8a580b2928c3c169425fdc886dbdc2401aeae27e0e5a19d73e4136e6d711be80b6c561ed96f2d88cd607065a4b4e09bf6c4c2b8d1bcb31ffb7f74467ec44b29e +EBUILD assets-0.1.1-r1.ebuild 634 SHA256 6c1ba83badd6f47362f342d4af41e1cdf48bff7e75fb23ca11f080d149989f2c SHA512 d480b4b601398a6708dae0ee1e649913a8669ad64c8e58e5212f63a925f5728b0458ca325f50943b73455106b9821046b805ad761f74cc736355bc33a35b21df WHIRLPOOL f885397808efb6065242a2039d52a0540d1881654d31169c669e4a739200310688d5463a4f0089f696a0e1277320e90c7166156e1e1d20856a9d9e9d38e1872f +MISC ChangeLog 2432 SHA256 179c3c0818894eb39427a2318c9ea5db00372dce4ec8525a2454fb7f36c87cb7 SHA512 00a133efa729988cd96c1b53b9f7fc98b86a830d83507163116071e41b7cd4880637ad7cc89fca2800243a81ad8f63964a9f9940831cebb45241ccb65145abec WHIRLPOOL 8515898598c96ab779d931c607554743e89340a46419255ebe6772a7a7ff190bd524645ff53c7b329e853880e4f37a4eb8346e34a98d94524fe07e1acf2bb833 +MISC ChangeLog-2015 1299 SHA256 49688695fcda1b42f215af49c8bd3f14c07c4aadd84019ecedb5e2fc30b36ad4 SHA512 1655337690ea22ecedfca13ada89eb0b7997db89aa70a911b56e82a952c028973cdc19e4db3710e7b46a3520b8f2412f9edae53facdddad77b8824f7c18f5b1a WHIRLPOOL 463464ccefcb585f74512ca9ecce82eb4250c07cf9fae60059e7bd1a36530eaaf7bc08769bb6483c7b30d266879cc40aca5afc408305b0dadee1bc091910cbb1 +MISC metadata.xml 806 SHA256 37e260fa7aa9e46b334da24dd840bc4e6239a66f8ebc7fdb93f9137d9050dcd8 SHA512 4cbfc3aa5ef56026ed27e1482dafd3bbb68c1aafc821a707dce7fb266cae57153963b2532a13b3c614a1f898e4401a5f5699ec45e79a63db564260676aae6826 WHIRLPOOL 96868270f6b253ed8d8dc4275ec0683cc18928bcc2e493609767d3809ad1454a9190c2d13bc7851ad11f2d85d3e8e7403566628f8a3580cf5cd41cbd4d8fef04 diff --git a/dev-python/assets/assets-0.1.1-r1.ebuild b/dev-python/assets/assets-0.1.1-r1.ebuild new file mode 100644 index 000000000000..90fb8ed2e423 --- /dev/null +++ b/dev-python/assets/assets-0.1.1-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Cache-friendly asset management via content-hash-naming" +HOMEPAGE="https://launchpad.net/web-assets" +SRC_URI="https://launchpad.net/web-assets/trunk/${PV}/+download/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="test" + +RDEPEND="" +DEPEND="${RDEPEND} + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +python_test() { + # The package tests assert on '/tmp', bug #450540 + local -x TMPDIR=/tmp + nosetests || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/assets/metadata.xml b/dev-python/assets/metadata.xml new file mode 100644 index 000000000000..919f6b2529a4 --- /dev/null +++ b/dev-python/assets/metadata.xml @@ -0,0 +1,22 @@ + + + + + maksbotan@gentoo.org + Maxim Koltsov + + + python@gentoo.org + Python + + + The assets package does content-hash-naming (aka URL fingerprinting) so + you can use aggressive caching headers without risking that a client might + have an out-of-date version of an asset in its cache. If the content + changes, the content-hash-name also changes, resulting in a different URL + for each bytewise-unique version of an asset + + + web-assets + + -- cgit v1.2.3