dev-python/setuptools: version bump to 26.1.1

This commit is contained in:
Tim Harder
2016-09-07 23:46:46 -04:00
parent 8741ad2fb5
commit d23fd18d2a
3 changed files with 61 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
DIST setuptools-18.4.tar.gz 626632 SHA256 cdea5098e60b4ad83453d58723a61dc481ca8e2df251fe4ccbea9afa5a7d111f SHA512 f45f0bdec365642d1648c502a964bafeb518e8f0ed63091a50b278629cf1e17df7f66769b0ddaab1e7c5ae2574673435ccab72886a2d5eb311eaac451c485854 WHIRLPOOL e0c5d69f57ce234b0e002a50c882df0bf1e908224c045baa8b5a62e91148d654f048cfbb64375b59f61f0845a5e850ec03594606933fdfaa9cce9b357bb45aa7
DIST setuptools-20.6.7.tar.gz 675428 SHA256 d20152ee6337323d3b6d95cd733fb719d6b4f3fbc40f61f7a48e5a1bb96478b2 SHA512 91a212b5007f9fdfacb4341e06dc0355c5c29897eb8ea407dd4864091f845ba1417bb0d33b5ed6897869d0233e2d0ec6548898d3dbe9eda23f751829bd51a104 WHIRLPOOL 553a1579991e9478b8eb8dd2f4ab042cd5286c1233f325d1fe1c08092035c6346aa454c03307359d7dd562174133247200c3a5424f5fc24f4718db0ad80d84fc
DIST setuptools-24.0.2.tar.gz 608676 SHA256 efe010ea62504178246f6b3d98d588c2f67884403a7a0a99670dfbf8836ca973 SHA512 980221d086cffa19a283dc2206af3a977b115749b7692051949678c5d7a9e29334295e428af021df1d6acca50b2a5fb43c66ea3ca4c5faae97b0b20bbe08510e WHIRLPOOL 654f42e46d397bdadf9e3445d071e24dab154ae9498a81ec1ea792c567a53614c5204a38bfd1eb3a349964c8d8a99a1d506904a4d11b6d039ddd5d3d681b8cd2
DIST setuptools-26.1.1.tar.gz 637041 SHA256 475ce28993d7cb75335942525b9fac79f7431a7f6e8a0079c0f2680641379481 SHA512 e9f5fb73022bd5584d3aa84c265338d93b6033d0f3af5fba1c7aeb4a949f7723573fb9e2586b29eca73030581b1ca4a529c7650e49d279946ef530b70487ccc7 WHIRLPOOL 100551619cc1b5bf3374a9c5647e3cd4feedd4be387eeb6f18813d31b884d14aa2eff249d1b21348b5adc809a540c2e5c0a86548736a863066e27821dd4bb40a

View File

@@ -0,0 +1,59 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
inherit distutils-r1
DESCRIPTION="Collection of extensions to Distutils"
HOMEPAGE="https://pypi.python.org/pypi/setuptools"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
RDEPEND=""
# >=dev-python/packaging-16.4[${PYTHON_USEDEP}]
# >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
# "
DEPEND="${RDEPEND}
test? (
>=dev-python/pytest-2.8[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
)
"
# >=dev-python/pyparsing-2.0.6[${PYTHON_USEDEP}]
PDEPEND="
>=dev-python/certifi-2016.8.8[${PYTHON_USEDEP}]"
# Force in-source build because build system modifies sources.
DISTUTILS_IN_SOURCE_BUILD=1
DOCS=( README.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} )
python_prepare_all() {
# rm -r ./pkg_resources/_vendor || die
# disable tests requiring a network connection
rm setuptools/tests/test_packageindex.py || die
# don't run integration tests
rm setuptools/tests/test_integration.py || die
distutils-r1_python_prepare_all
}
python_test() {
# test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
# It tries to sandbox the test in a tempdir
HOME="${PWD}" py.test --verbose ${PN} || die "Tests failed under ${EPYTHON}"
}
python_install() {
export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
distutils-r1_python_install
}

View File

@@ -30,7 +30,7 @@ DEPEND="${RDEPEND}
"
# >=dev-python/pyparsing-2.0.6[${PYTHON_USEDEP}]
PDEPEND="
>=dev-python/certifi-2016.2.28[${PYTHON_USEDEP}]"
>=dev-python/certifi-2016.8.8[${PYTHON_USEDEP}]"
# Force in-source build because build system modifies sources.
DISTUTILS_IN_SOURCE_BUILD=1