From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/backports-functools-lru-cache/
Date: Tue, 9 May 2017 15:35:36 +0000 (UTC) [thread overview]
Message-ID: <1494344125.598f9d23380a25a95042af79cead987a476a1449.mgorny@gentoo> (raw)
commit: 598f9d23380a25a95042af79cead987a476a1449
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 9 11:55:15 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 9 15:35:25 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=598f9d23
dev-python/backports-functools-lru-cache: Fix namespace support
.../backports-functools-lru-cache-1.3-r1.ebuild | 50 ++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.3-r1.ebuild b/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.3-r1.ebuild
new file mode 100644
index 00000000000..b94cdf90137
--- /dev/null
+++ b/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.3-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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="~alpha ~amd64 ~arm ~hppa ~x86"
+IUSE="doc test"
+
+RDEPEND="dev-python/backports[${PYTHON_USEDEP}]"
+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
+
+ find "${D}" -name '*.pth' -delete || die
+}
next reply other threads:[~2017-05-09 15:35 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-09 15:35 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-05-04 10:23 [gentoo-commits] repo/gentoo:master commit in: dev-python/backports-functools-lru-cache/ Michał Górny
2020-04-18 9:52 Sergei Trofimovich
2020-04-09 18:40 Sergei Trofimovich
2020-03-29 17:33 Sergei Trofimovich
2020-03-29 14:45 Sergei Trofimovich
2020-03-29 9:40 Sergei Trofimovich
2020-03-29 9:34 Sergei Trofimovich
2020-03-27 16:31 Agostino Sarubbo
2020-03-27 13:29 Agostino Sarubbo
2020-03-26 18:01 Sergei Trofimovich
2020-03-26 13:49 Michał Górny
2020-03-26 13:49 Michał Górny
2019-11-07 13:03 Louis Sautier
2018-06-24 14:44 Louis Sautier
2018-02-05 18:37 Michał Górny
2018-02-05 18:37 Michał Górny
2017-12-27 19:02 Fabian Groffen
2017-11-28 20:48 Sergei Trofimovich
2017-11-25 18:51 Sergei Trofimovich
2017-11-25 18:51 Sergei Trofimovich
2017-11-25 18:51 Sergei Trofimovich
2017-11-23 22:31 Matt Turner
2017-11-10 1:08 Matt Turner
2017-08-06 12:45 Sergei Trofimovich
2017-08-05 19:25 Sergei Trofimovich
2017-07-26 9:40 Fabian Groffen
2017-07-10 13:15 Alexis Ballier
2017-06-17 17:24 Agostino Sarubbo
2017-06-17 15:36 Agostino Sarubbo
2017-06-16 7:57 Sergei Trofimovich
2017-06-15 20:52 Sergei Trofimovich
2017-06-14 19:49 Markus Meier
2017-06-10 17:17 Mike Gilbert
2017-06-06 21:38 Patrice Clement
2017-06-06 21:38 Patrice Clement
2017-05-26 14:59 Agostino Sarubbo
2017-05-24 13:46 Agostino Sarubbo
2017-05-18 16:54 Michael Weber
2017-05-16 21:05 Michał Górny
2017-05-09 16:30 Markus Meier
2017-04-29 12:20 Jeroen Roovers
2017-04-24 12:44 Tobias Klausmann
2017-04-23 12:40 Agostino Sarubbo
2017-02-19 8:16 Markus Meier
2017-01-26 15:18 Tobias Klausmann
2016-10-05 7:35 Patrice Clement
2016-01-14 12:30 Ian Delaney
2015-12-29 23:36 Ian Delaney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1494344125.598f9d23380a25a95042af79cead987a476a1449.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox