dev-python/pympler: Clean old up

This commit is contained in:
Michał Górny
2018-01-05 23:12:51 +01:00
parent eb0d7155be
commit a01b1ec065
4 changed files with 0 additions and 141 deletions

View File

@@ -1,4 +1 @@
DIST Pympler-0.4.1.tar.gz 395535 BLAKE2B 0d61dafb7f0dd30602b8cc6a9b5d1cf48090c3bd131805a2b33a68a32b6a9b0886fbab54cc3c027e7d94c017048f8f2539fcbaa690cb7c16de2036f10179c438 SHA512 3f7e2d88ca431ae73cf49d5140c10de4eab10c1627cdacc12e216c89410add16cb5e1faedc484ea765e4b866b905a5379bb21e7d41b9b8d622c4ac7b1b16a8a3
DIST Pympler-0.4.2.tar.gz 395765 BLAKE2B 57a69a3cb2a4f12dd3fcbd98b72ed4594e4eeafeec0456340319fb6421e07268bd8b2daa4aa7bc790e229e349fa29f7b061a28b6c6336dee4fd71a604d7e5960 SHA512 ae6e7718ecf8e7bc46ce968dd3b57543c4a3e882a07d7cb68ee38e60debc157ce2410c66b23c14179c47fef1b89647886289d9e4fdfc5f9e9ecd87a052f204aa
DIST pympler-0.4.3.tar.gz 259409 BLAKE2B 26be0f58d5e846b806c6885db801155aa0551b632c753d55cf6e189efdd9fb528fbc29cb697b81497374c466fd2b54cca372f4251355b2443da287e6637ca252 SHA512 de4a36e8e5b639c1b78460677d821a5ad829c01a568496a5df4682ab32fea14e24c47260aed96c68722285e3fdb4b202348a7cbfcb95531ca2954bd8d5cebb68
DIST pympler-0.5.tar.gz 263627 BLAKE2B 5ce881664e2d57d1a7a9b87238cfc6657fd35a140e6ab906b55ca6e0ac91fc8a74377d4db21706708c55773f8ca65d3578c101669ba409339418e09ca53d0fb2 SHA512 254b758df70bafe57f315a973de0caeef6cd616bd0cc7b4475c74c3a9a94f52b3ac3da3f073483db3560cd0060536c95ed1297007c24dfe8db89fd893ff1409c

View File

@@ -1,42 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python{2_7,3_4} )
inherit distutils-r1
MY_PN="Pympler"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Memory profiling for Python applications"
HOMEPAGE="https://code.google.com/p/pympler/ https://pypi.python.org/pypi/Pympler https://github.com/pympler/pympler"
SRC_URI="mirror://pypi/P/${MY_PN}/${MY_P}.tar.gz"
SLOT="0"
LICENSE="Apache-2.0"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
RDEPEND="dev-python/bottle[${PYTHON_USEDEP}]"
DEPEND="test? ( ${RDEPEND} )"
S="${WORKDIR}"/${MY_P}
python_prepare_all() {
rm pympler/util/bottle.py || die
sed \
-e '/import bottle/s:^.*$:import bottle:g' \
-i pympler/web.py || die
distutils-r1_python_prepare_all
}
python_test() {
esetup.py try
}
python_install_all() {
use doc && local HTML_DOCS=( doc/html/. )
distutils-r1_python_install_all
}

View File

@@ -1,43 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python{2_7,3_4} )
inherit distutils-r1
MY_PN="Pympler"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Memory profiling for Python applications"
HOMEPAGE="https://code.google.com/p/pympler/ https://pypi.python.org/pypi/Pympler https://github.com/pympler/pympler"
SRC_URI="mirror://pypi/P/${MY_PN}/${MY_P}.tar.gz"
SLOT="0"
LICENSE="Apache-2.0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
RDEPEND="dev-python/bottle[${PYTHON_USEDEP}]"
DEPEND="test? ( ${RDEPEND} )"
S="${WORKDIR}"/${MY_P}
python_prepare_all() {
rm pympler/util/bottle.py || die
sed \
-e '/import bottle/s:^.*$:import bottle:g' \
-i pympler/web.py || die
distutils-r1_python_prepare_all
}
python_test() {
# https://github.com/pympler/pympler/issues/22
esetup.py try
}
python_install_all() {
use doc && local HTML_DOCS=( doc/html/. )
distutils-r1_python_install_all
}

View File

@@ -1,53 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
inherit distutils-r1
MY_PN="Pympler"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Memory profiling for Python applications"
HOMEPAGE="https://code.google.com/p/pympler/ https://pypi.python.org/pypi/Pympler https://github.com/pympler/pympler"
SRC_URI="https://github.com/pympler/pympler/archive/${PV}.tar.gz -> ${P}.tar.gz"
# The PyPi tarball is missing the documentation
#SRC_URI="mirror://pypi/P/${MY_PN}/${MY_P}.tar.gz"
SLOT="0"
LICENSE="Apache-2.0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
RDEPEND="dev-python/bottle[${PYTHON_USEDEP}]"
DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( ${RDEPEND} )"
python_prepare_all() {
rm pympler/util/bottle.py || die
sed \
-e '/import bottle/s:^.*$:import bottle:g' \
-i pympler/web.py || die
# test_flatsize and AsizeofTest always fail
sed '14,106d' -i test/asizeof/test_asizeof.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
if use doc; then
python_setup
sphinx-build -b html doc/{source,html} || die
fi
}
python_test() {
# https://github.com/pympler/pympler/issues/22
esetup.py try
}
python_install_all() {
use doc && local HTML_DOCS=( doc/html/. )
distutils-r1_python_install_all
}