From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3FB2D1384B4 for ; Tue, 3 Nov 2015 10:25:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B595321C082; Tue, 3 Nov 2015 10:24:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2C22A21C03A for ; Tue, 3 Nov 2015 10:24:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2468B340775 for ; Tue, 3 Nov 2015 10:24:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 409321F6E for ; Tue, 3 Nov 2015 10:24:53 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1446546280.aa362397fc99cbb8cbed07844a09c1f49e105817.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyscaffold/files/, dev-python/pyscaffold/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyscaffold/Manifest dev-python/pyscaffold/files/pyscaffold-2.4.1-loose-dep-restrictions-backport.patch dev-python/pyscaffold/metadata.xml dev-python/pyscaffold/pyscaffold-2.4.1.ebuild X-VCS-Directories: dev-python/pyscaffold/ dev-python/pyscaffold/files/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: aa362397fc99cbb8cbed07844a09c1f49e105817 X-VCS-Branch: master Date: Tue, 3 Nov 2015 10:24:53 +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: 3d663686-0255-48b7-8081-e7b032c9c5c3 X-Archives-Hash: 6d39f26d6360f633e25b73fbebc19378 commit: aa362397fc99cbb8cbed07844a09c1f49e105817 Author: Justin Lecher gentoo org> AuthorDate: Tue Nov 3 09:36:38 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Tue Nov 3 10:24:40 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa362397 dev-python/pyscaffold: New package written by me Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher gentoo.org> dev-python/pyscaffold/Manifest | 1 + ...old-2.4.1-loose-dep-restrictions-backport.patch | 36 +++++++++++++ dev-python/pyscaffold/metadata.xml | 8 +++ dev-python/pyscaffold/pyscaffold-2.4.1.ebuild | 60 ++++++++++++++++++++++ 4 files changed, 105 insertions(+) diff --git a/dev-python/pyscaffold/Manifest b/dev-python/pyscaffold/Manifest new file mode 100644 index 0000000..a69c512 --- /dev/null +++ b/dev-python/pyscaffold/Manifest @@ -0,0 +1 @@ +DIST pyscaffold-2.4.1.tar.gz 108670 SHA256 bb91c4682c712b6a446d2b3b53dd27d0b8f2fb2050995e1b7f16aa8d6ec391c2 SHA512 ec5b5cf842b62f1989741bde84bf5ef5940583379e2b93672e95444a40685ae020286f40d47c31a4382f2c892dd17270349942f1544207036ff4e99a29e9e76d WHIRLPOOL d0ae0d1d69beaa21902f9f69ac1432734c11e15ff3c5d428602793f0ce4b2a53376a00c4f52004fb3f49da06bbd112f6ed72100fee7bdcfee26e7e23c54ec8af diff --git a/dev-python/pyscaffold/files/pyscaffold-2.4.1-loose-dep-restrictions-backport.patch b/dev-python/pyscaffold/files/pyscaffold-2.4.1-loose-dep-restrictions-backport.patch new file mode 100644 index 0000000..ed7c8bd --- /dev/null +++ b/dev-python/pyscaffold/files/pyscaffold-2.4.1-loose-dep-restrictions-backport.patch @@ -0,0 +1,36 @@ +From 513393e20f20cf62c09bd445057194ee378dda57 Mon Sep 17 00:00:00 2001 +From: Florian Wilhelm +Date: Wed, 16 Sep 2015 12:59:49 +0200 +Subject: [PATCH] Fix issue 69 + +--- + CHANGES.rst | 5 +++++ + requirements.txt | 4 ++-- + 2 files changed, 7 insertions(+), 2 deletions(-) + +diff --git a/CHANGES.rst b/CHANGES.rst +index 922d41b..0478701 100644 +--- a/CHANGES.rst ++++ b/CHANGES.rst +@@ -2,6 +2,11 @@ + Release Notes + ============= + ++Version 2.4.2, 2015-09-16 ++========================= ++ ++- Fix version conflicts due to too tight pinning, issue #69 ++ + Version 2.4.1, 2015-09-09 + ========================= + +diff --git a/requirements.txt b/requirements.txt +index f9695f8..a620a77 100644 +--- a/requirements.txt ++++ b/requirements.txt +@@ -1,3 +1,3 @@ + six +-setuptools_scm>=1.7,<1.8a0 +-pbr>=1.7,<1.8a0 ++setuptools_scm>=1.7 ++pbr>=1.6 diff --git a/dev-python/pyscaffold/metadata.xml b/dev-python/pyscaffold/metadata.xml new file mode 100644 index 0000000..c166166 --- /dev/null +++ b/dev-python/pyscaffold/metadata.xml @@ -0,0 +1,8 @@ + + + + + jlec@gentoo.org + Justin Lecher + + diff --git a/dev-python/pyscaffold/pyscaffold-2.4.1.ebuild b/dev-python/pyscaffold/pyscaffold-2.4.1.ebuild new file mode 100644 index 0000000..993b104 --- /dev/null +++ b/dev-python/pyscaffold/pyscaffold-2.4.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy ) + +inherit distutils-r1 + +MY_PN="PyScaffold" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Tool for easily putting up the scaffold of a Python project" +HOMEPAGE="https://pypi.python.org/pypi/PyScaffold http://pyscaffold.readthedocs.org/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + >=dev-python/pbr-1.6[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm-1.7[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + ) +" + +PATCHES=( "${FILESDIR}"/${P}-loose-dep-restrictions-backport.patch ) + +python_prepare_all() { + sed \ + -e 's: + pytest_runner::g' \ + -i setup.py || die + + # Creates all sort of mem problem due to fetch restrictions + rm tests/test_install.py || die + + # Online tests + sed \ + -e 's:test_api_with_cookiecutter:_&:g' \ + -e 's:test_pyscaffold_keyword:_&:g' \ + -i tests/*py || die + + distutils-r1_python_prepare_all +} + +python_test() { + git config --global user.email "you@example.com" + git config --global user.name "Your Name" + + esetup.py test +}