mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 23:08:09 -07:00
dev-python/pyscaffold: Clean old versions up
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST pyscaffold-2.4.1.tar.gz 108670 SHA256 bb91c4682c712b6a446d2b3b53dd27d0b8f2fb2050995e1b7f16aa8d6ec391c2 SHA512 ec5b5cf842b62f1989741bde84bf5ef5940583379e2b93672e95444a40685ae020286f40d47c31a4382f2c892dd17270349942f1544207036ff4e99a29e9e76d WHIRLPOOL d0ae0d1d69beaa21902f9f69ac1432734c11e15ff3c5d428602793f0ce4b2a53376a00c4f52004fb3f49da06bbd112f6ed72100fee7bdcfee26e7e23c54ec8af
|
||||
DIST pyscaffold-2.4.4.tar.gz 110337 SHA256 5c817ab302dc6ec82d418750b52f87de3c4b9af1d8c8be3dfa7d0210790d601e SHA512 840d205a84528410674e898d6f32a57d3e89edf71e4773a4aae38a4f1fdd883129f6f7be437c2d07fe89b58152a3b250f4a9a7125d1a6d9461673a7f22094d70 WHIRLPOOL 4e9efe5cde6f7a058e2306efb1718fd07be2b93676c834d1363a363058b1676cd8cb84faf309bb23b0e2680159b2dbc3e58918dc86a706f46b6a461771a48119
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
From 513393e20f20cf62c09bd445057194ee378dda57 Mon Sep 17 00:00:00 2001
|
||||
From: Florian Wilhelm <Florian.Wilhelm@gmail.com>
|
||||
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
|
||||
@@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{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
|
||||
}
|
||||
Reference in New Issue
Block a user