From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 21FF4138334 for ; Sun, 18 Nov 2018 22:00:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DE15CE0A53; Sun, 18 Nov 2018 22:00:21 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A1AC8E0A53 for ; Sun, 18 Nov 2018 22:00:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 21102335CB7 for ; Sun, 18 Nov 2018 22:00:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CDAA145D for ; Sun, 18 Nov 2018 22:00:10 +0000 (UTC) From: "Virgil Dupras" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Virgil Dupras" Message-ID: <1542578393.2b16f5fcbdfab1bb434b1d6cb0be04bfd9ae2905.vdupras@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/diskcache/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/diskcache/Manifest dev-python/diskcache/diskcache-3.1.0.ebuild X-VCS-Directories: dev-python/diskcache/ X-VCS-Committer: vdupras X-VCS-Committer-Name: Virgil Dupras X-VCS-Revision: 2b16f5fcbdfab1bb434b1d6cb0be04bfd9ae2905 X-VCS-Branch: master Date: Sun, 18 Nov 2018 22:00:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dc78f929-1eaa-4b84-88ce-0e255eca13c3 X-Archives-Hash: e488df045bee8db94b18279272497abb commit: 2b16f5fcbdfab1bb434b1d6cb0be04bfd9ae2905 Author: Virgil Dupras gentoo org> AuthorDate: Sun Nov 18 21:59:53 2018 +0000 Commit: Virgil Dupras gentoo org> CommitDate: Sun Nov 18 21:59:53 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b16f5fc dev-python/diskcache: bump to 3.1.0 Previous version didn't support newer django. Also, add missing "sqlite" in PYTHON_REQ_USE. Closes: https://bugs.gentoo.org/636554 Closes: https://bugs.gentoo.org/636406 Signed-off-by: Virgil Dupras gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-python/diskcache/Manifest | 1 + dev-python/diskcache/diskcache-3.1.0.ebuild | 42 +++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/diskcache/Manifest b/dev-python/diskcache/Manifest index d298e00b93a..e16bb839277 100644 --- a/dev-python/diskcache/Manifest +++ b/dev-python/diskcache/Manifest @@ -1 +1,2 @@ DIST diskcache-2.8.3.tar.gz 438587 BLAKE2B 3b7b50fe6cabe8a4eb92b3dd72a2b99d6cedc8b7d055fcdf7b445f016957e6c7692571e9f83aafe36141b69a0e93f638b9e3e2f210bb56e6358260a5ff4130d3 SHA512 d96ac76dfb68cb817febd3f4ed8927a8409c02b13b4112a739528cade40f9a588c732dfc3148392dd12676380c3a2b006ee63b86f30ad70f5d205273003bf23d +DIST diskcache-3.1.0.tar.gz 489821 BLAKE2B 56b54662f31172f4f746ce885d57a3e9f34af9d7318300fe6906aee1b3373919f6ee33922ab30b7979cc6e271f2f780894438b4114483a7c76f198fb7b2213c1 SHA512 30ea3e6c1ed6430c1a7e3bf022bd9233e89a2486308d1f48f6e2f0b50ccc1ee50dade7c55d98a5611ef384bd193cd28f7e65f5737bae00845b17c159177dd345 diff --git a/dev-python/diskcache/diskcache-3.1.0.ebuild b/dev-python/diskcache/diskcache-3.1.0.ebuild new file mode 100644 index 00000000000..e0c59c1bf64 --- /dev/null +++ b/dev-python/diskcache/diskcache-3.1.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +HOMEPAGE="http://www.grantjenks.com/docs/diskcache/" +DESCRIPTION="Disk and file backed cache" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc test" + +RDEPEND=" + dev-python/django[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + ) + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) +" + +python_compile_all() { + if use doc; then + emake -C docs html + HTML_DOCS=( docs/_build/html/. ) + fi +} + +python_test() { + nosetests -v || die "failed with ${PYTHON}" +}