diff options
Diffstat (limited to 'dev-python/mako')
-rw-r--r-- | dev-python/mako/Manifest | 4 | ||||
-rw-r--r-- | dev-python/mako/mako-1.0.7.ebuild | 49 | ||||
-rw-r--r-- | dev-python/mako/metadata.xml | 2 |
3 files changed, 54 insertions, 1 deletions
diff --git a/dev-python/mako/Manifest b/dev-python/mako/Manifest index b076460e71eb..b8fbb87f58ac 100644 --- a/dev-python/mako/Manifest +++ b/dev-python/mako/Manifest @@ -1,6 +1,8 @@ AUX pygments-exception.patch 1456 BLAKE2B a5cea58cab2dfbff872db7eda2a7753d69fcd0ddc2cc70ac9ba05978beff8fcbf2bd3ea4627639247de5a2e343ee30144216d28b890414a50cfa54b9cd97a73c SHA512 c43f620fe52e1a69e52a14a4ef3a390ff38d6507a53a70b2da0625b3be1941a0f6b2cb23d2ee60a391e78d8062ba2a9c76d8c5ab0556e01c256867dede44ef61 DIST Mako-1.0.3.tar.gz 565224 BLAKE2B 8c9a6fa10a6a8d5fc87ff75b77b11e411bd79adcab64e3b3b9066ba7010db94d98c7e8e422e1f89a3ff326501eff8dd6129a1af97d131babcd00047b0db19c29 SHA512 1652cb3f7ea6484975c16f914ce9c070e503ff532564f76a048dd316e5eb12ff2b2445f272be55147d4d62b45906d5e14b3799c9136622ed0867a00875a0e52d DIST Mako-1.0.6.tar.gz 575112 BLAKE2B c8354faf03ca2b6dfbb82ae96e8b86385630713a0ebb1d592179acaa78e0950a0b013da05da0c079263043a4ce8958e5ec50215c401b2c4fcabfd7f364d92be5 SHA512 15608f2487783ea3a48faf743ee1b8e811adc34281c613e56f1a4548f3c614d1d5dbc943911943a7f8f6d34a962a27387d8fc17862038c1abee2e6c3328a79cf +DIST Mako-1.0.7.tar.gz 564418 BLAKE2B c7ecad786213a8d3b77241955d5a825513f81bf66b705b6f54d6ff74a6513f7c8bacdc55fa8f21acb03e691900f45605da834a2b941bc65bddb177ce86dbe961 SHA512 d67af6788bf8603010361ce8b6d0355b0191657c07f3b5845f9d5e91653c3e349a7b35d5b36aa9c7f291973c83911ce94075e1cad78e6935d0ed4ee9c6e2a571 EBUILD mako-1.0.3.ebuild 1408 BLAKE2B 6ff326737561bfc128527020d21cb8ae0da47007e70d23606ffd0a8644a67b11aa6c0c7d0babc41c8b038d99fb3db28a899bcf04ab18873e7b2afeffd01e4c6c SHA512 9ffd33d5236948976f8b00f1b0d56c3904a19c90fd17d30ad965e450c6e170b5d285aaf2cc21d77564b8d19ff87a0c17010f52037d6dfb39f7d6d4691e904793 EBUILD mako-1.0.6.ebuild 1477 BLAKE2B 83d366f715e9e6c1f2147e68bf721e1f19cae024eeebd7a83d18768d823add1269552689548a800c6a7719f0cceb9a4ecb54bbfb21efc6cf3af098ca5a6d5298 SHA512 4d41e035241253556f9e1a5c731160e33ce20d759afd739f2c488d67c2cc5a4ec506643f90e58a3f7fe503837af5e631d64e5b3a0fccb400e151426b5dbd834e -MISC metadata.xml 317 BLAKE2B 1b8ed4d3958df0960dda7060ead69fff4ea6f0c6087d99af4ceeeb8d1fae9a88657aec6eb1695ec5f990e48f167e729ce65507080ef0ea5d23617d439621921d SHA512 5df2d87e902b439727d8be3861e626ff798a546f09dbfdd19ee7384dc1ca0474d1b3ff2f638d262217f0105fc2536a3ac2440cc5b1161cb510976bd2ca6d1da8 +EBUILD mako-1.0.7.ebuild 1163 BLAKE2B 2057e02ebc175e5e83d90afe4ab18768df57e39510de6c6affeb49c072e1d8d6cf4a5d46de7c6de139a0fb05593802f00605224a19c5c74f64ef34cd5c163105 SHA512 ad5140f79c7ea230e99a4b7377dd2d31dc74f983b3a423845a214bb55e2657a3c4b58a1bea72f3f8597ae3e231f61a9d0f91043affdfa9074090a64371c62422 +MISC metadata.xml 437 BLAKE2B 4dc2a160a2054ffe0bd59638a0170845b22d7eafeb77e94999ff239dac231e9b1a0c06b688da2c4699f73b99ae2c1306332cb0b5e91779da757bc048452c7c22 SHA512 ac01b2c4843ec9ab15f5b20677a003aa34fceeb2f1ad39a76e3782e077824f1d1103c831dd2f911ae5e64bb7530db2e87c2b1e5fde2fb77acf6d1df65f0e0b69 diff --git a/dev-python/mako/mako-1.0.7.ebuild b/dev-python/mako/mako-1.0.7.ebuild new file mode 100644 index 000000000000..1614302d1fed --- /dev/null +++ b/dev-python/mako/mako-1.0.7.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6,7}} ) + +inherit distutils-r1 eutils + +MY_PN="Mako" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="A Python templating language" +HOMEPAGE="http://www.makotemplates.org/ https://pypi.org/project/Mako/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="doc test" + +RDEPEND=">=dev-python/markupsafe-0.9.2[${PYTHON_USEDEP}]" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' pypy python2_7) + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${MY_P}" + +python_test() { + py.test -v || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + rm -r doc/build || die + + use doc && local HTML_DOCS=( doc/. ) + distutils-r1_python_install_all +} + +pkg_postinst() { + elog "Optional dependencies:" + optfeature "caching support" dev-python/beaker +} diff --git a/dev-python/mako/metadata.xml b/dev-python/mako/metadata.xml index edcc780c70de..4e2283f56f3f 100644 --- a/dev-python/mako/metadata.xml +++ b/dev-python/mako/metadata.xml @@ -7,5 +7,7 @@ </maintainer> <upstream> <remote-id type="pypi">mako</remote-id> + <remote-id type="bitbucket">zzzeek/mako</remote-id> + <bugs-to>https://bitbucket.org/zzzeek/mako/issues</bugs-to> </upstream> </pkgmetadata> |