mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/mako: Clean old up
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST Mako-1.0.0.tar.gz 470006 BLAKE2B d2777564387730c3899215a4f707a1e17c5a993f81fb19b0c5eeba708a0fd137e0dcc2c52409e266524371c459cbee25171bcefdbc650650ff70aec2c54d41de SHA512 81a6b7637e26d561350a591e3490e7140db218ae7f6b43fec8fca5b767fc6e57d0e8cc901d28fecb9863b2170c824a35c578a94579f991359fa0873f62ec578a
|
||||
DIST Mako-1.0.3.tar.gz 565224 BLAKE2B 8c9a6fa10a6a8d5fc87ff75b77b11e411bd79adcab64e3b3b9066ba7010db94d98c7e8e422e1f89a3ff326501eff8dd6129a1af97d131babcd00047b0db19c29 SHA512 1652cb3f7ea6484975c16f914ce9c070e503ff532564f76a048dd316e5eb12ff2b2445f272be55147d4d62b45906d5e14b3799c9136622ed0867a00875a0e52d
|
||||
DIST Mako-1.0.6.tar.gz 575112 BLAKE2B c8354faf03ca2b6dfbb82ae96e8b86385630713a0ebb1d592179acaa78e0950a0b013da05da0c079263043a4ce8958e5ec50215c401b2c4fcabfd7f364d92be5 SHA512 15608f2487783ea3a48faf743ee1b8e811adc34281c613e56f1a4548f3c614d1d5dbc943911943a7f8f6d34a962a27387d8fc17862038c1abee2e6c3328a79cf
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
|
||||
inherit readme.gentoo versionator distutils-r1
|
||||
|
||||
MY_PN="Mako"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="A Python templating language"
|
||||
HOMEPAGE="http://www.makotemplates.org/ https://pypi.python.org/pypi/Mako"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/markupsafe-0.9.2[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DOC_CONTENTS="
|
||||
${PN} can be enhanced with caching by dev-python/beaker"
|
||||
|
||||
python_test() {
|
||||
nosetests "${S}"/test || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
rm -rf doc/build
|
||||
|
||||
use doc && local HTML_DOCS=( doc/. )
|
||||
distutils-r1_python_install_all
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
|
||||
for v in ${REPLACING_VERSIONS}; do
|
||||
if ! version_is_at_least 0.7.3-r2 $v; then
|
||||
ewarn "dev-python/beaker is no longer hard dependency of ${P}"
|
||||
ewarn "If you rely on it, you should add beaker to your world"
|
||||
ewarn "file:"
|
||||
ewarn "# emerge --noreplace beaker"
|
||||
break
|
||||
fi
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user