dev-python/backports-functools-lru-cache: version bump to 1.3.
authorLouis Sautier <sautier.louis@gmail.com>
Tue, 4 Oct 2016 09:42:22 +0000 (11:42 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Wed, 5 Oct 2016 07:35:02 +0000 (09:35 +0200)
Package-Manager: portage-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/2470

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
dev-python/backports-functools-lru-cache/Manifest
dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.3.ebuild [new file with mode: 0644]
dev-python/backports-functools-lru-cache/metadata.xml

index 362d76fe125e434696da5016bb591d7cfedd61b7..74da02cff1212ef24e35473d6e515298514400a4 100644 (file)
@@ -1 +1,2 @@
 DIST backports.functools_lru_cache-1.2.1.tar.gz 5763 SHA256 1c20e07f1a8a36a19d5d258b6b076e588d78d8fc7c2c4487ffe3a280f55a7bd1 SHA512 e15e6bbddf252ed48f787a26c9ef693ccceb8ec5b3463f0926d58a1d2720b988cd86b869ec72afc66369a7968316b9eb3ae0b628f1c63a116c2360900df85691 WHIRLPOOL 4d604f38e659117230e58180c6996e1f7b0f1d7c580ffcb5dde947e0d11078989b695fbd50672e65baac6f0bb4fb7612f506084d7589adf4f37720e70fded367
+DIST backports.functools_lru_cache-1.3.tar.gz 6685 SHA256 444a21bcec4ae177da554321f81a78dc879eaa8f6ea9920cb904830585d31e95 SHA512 946156266d4b1bccb3eb444d1cceff6568b8c2a62e09bc9197281bdafe912069efa4c857089a7e6ea0247ab9407256a7a7c92485599692e0c0159c428137a342 WHIRLPOOL a4cccbfd49acc640c1e15949919e10343c00f966e22bac7a2dc82af776f35cadce825a7757c5dca32b189797303abedc93aecf3000203819ee869bbb37ac4a03
diff --git a/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.3.ebuild b/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.3.ebuild
new file mode 100644 (file)
index 0000000..19f7d37
--- /dev/null
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+MY_PN="${PN/-/.}"
+MY_PN="${MY_PN//-/_}"
+DESCRIPTION="Backport of functools.lru_cache from Python 3.3"
+HOMEPAGE="https://github.com/jaraco/backports.functools_lru_cache"
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+DEPEND="
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       >=dev-python/setuptools_scm-1.9[${PYTHON_USEDEP}]
+       doc? (
+               dev-python/sphinx[${PYTHON_USEDEP}]
+               dev-python/rst-linker[${PYTHON_USEDEP}]
+       )
+       test? (
+               >=dev-python/pytest-2.8[${PYTHON_USEDEP}]
+               dev-python/pytest-runner[${PYTHON_USEDEP}]
+       )
+"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+python_compile_all() {
+       use doc && esetup.py build_sphinx
+}
+
+python_test() {
+       PYTHONPATH=. py.test || die "tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+       use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
+       distutils-r1_python_install_all
+}
index 9b64011a34dea1a6dee223002593c0bfab86c5bc..b22cae5ee290247375283370f22571c131c6b6a9 100644 (file)
@@ -13,5 +13,7 @@
        <upstream>
                <remote-id type="pypi">backports.functools_lru_cache</remote-id>
                <remote-id type="github">jaraco/backports.functools_lru_cache</remote-id>
+               <bugs-to>https://github.com/jaraco/backports.functools_lru_cache/issues</bugs-to>
+               <changelog>https://github.com/jaraco/backports.functools_lru_cache/blob/master/CHANGES.rst</changelog>
        </upstream>
 </pkgmetadata>