diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/mako |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/mako')
-rw-r--r-- | dev-python/mako/Manifest | 10 | ||||
-rw-r--r-- | dev-python/mako/files/pygments-exception.patch | 32 | ||||
-rw-r--r-- | dev-python/mako/mako-1.0.0.ebuild | 58 | ||||
-rw-r--r-- | dev-python/mako/mako-1.0.3.ebuild | 55 | ||||
-rw-r--r-- | dev-python/mako/mako-1.0.6.ebuild | 56 | ||||
-rw-r--r-- | dev-python/mako/metadata.xml | 11 |
6 files changed, 222 insertions, 0 deletions
diff --git a/dev-python/mako/Manifest b/dev-python/mako/Manifest new file mode 100644 index 000000000000..1b34497c1175 --- /dev/null +++ b/dev-python/mako/Manifest @@ -0,0 +1,10 @@ +AUX pygments-exception.patch 1456 SHA256 32cf51ea6ef94763201b4ca47c2582aa5def13e2b0d9f566d0fff509fa842795 SHA512 c43f620fe52e1a69e52a14a4ef3a390ff38d6507a53a70b2da0625b3be1941a0f6b2cb23d2ee60a391e78d8062ba2a9c76d8c5ab0556e01c256867dede44ef61 WHIRLPOOL 6977370b49611bd1f85cfc611d532838ed2d960004bcee3481c2903be9ec51d1577e36787de3c3c60ce78899edfee2d1a7ec53ccd1b5b68403bf26962e635450 +DIST Mako-1.0.0.tar.gz 470006 SHA256 a3cd72cfef507204b50f74ffcbfcfde7e856437891d3f6cfe780866986d006fe SHA512 81a6b7637e26d561350a591e3490e7140db218ae7f6b43fec8fca5b767fc6e57d0e8cc901d28fecb9863b2170c824a35c578a94579f991359fa0873f62ec578a WHIRLPOOL aa27b63e3832f03120312fbfec939b05606081e67a5cb4c9a056c27259631c2e159cf7506292d44e2c17c5950d7e4255d19f4beba78502bdbb52fbf11e1a872c +DIST Mako-1.0.3.tar.gz 565224 SHA256 7644bc0ee35965d2e146dde31827b8982ed70a58281085fac42869a09764d38c SHA512 1652cb3f7ea6484975c16f914ce9c070e503ff532564f76a048dd316e5eb12ff2b2445f272be55147d4d62b45906d5e14b3799c9136622ed0867a00875a0e52d WHIRLPOOL 4ac07778b58d8b4c95853a07dcb8755e560cb7225f68b606582ef9883fe632caead44d4a56ae1662b42f0ecdee2117942b3c500385558aa8f9763a3ce755b583 +DIST Mako-1.0.6.tar.gz 575112 SHA256 48559ebd872a8e77f92005884b3d88ffae552812cdf17db6768e5c3be5ebbe0d SHA512 15608f2487783ea3a48faf743ee1b8e811adc34281c613e56f1a4548f3c614d1d5dbc943911943a7f8f6d34a962a27387d8fc17862038c1abee2e6c3328a79cf WHIRLPOOL dd0c12f2b8fe6f65907df662de73117eb11afee015f3acd2c70c8522456a7c52761a1bfe8247ce9e88a4ca704008a120be95893f3c3b1b0e410c1a244af011ba +EBUILD mako-1.0.0.ebuild 1466 SHA256 eeab16be7f3414888905092da5085a51fd297babbf9332d21d102e87d5a26c16 SHA512 4efcb883a90a92fc82ee4cbbc7a976d76732b869fc669c3b978e34c6e1a98afafea58b16d1a2c553728dd9f2d360313c9fd35d5554a97b2a53d6e7be74a40b70 WHIRLPOOL f9515e4dfb78526300e4bbb3ff2762cb8dea8743087598c0bfc313d9b8dce2ad4d2d1ef837e7df26376222946272bd794cc0369f5919fe7ea59b092bf588b059 +EBUILD mako-1.0.3.ebuild 1415 SHA256 43d929f0e6473a9829d506a08e42ff1ca3e527d0d1ea42690edb12ed377ceb2c SHA512 659bbf5a8f48dd5bc8f8a2e5ab2dd3a0c770566c8087304a9b721f8a44aa40f207b1faf6570dd690c936e498619840f8faee9f48437a64c91e23f29e6bf9c125 WHIRLPOOL 320296dd4aee1c193bf7975771a228e95237582f246da809773126c69ffb9d25be7d40e7ca9b0afa27368b01958f50a99543a62d856caca31978503cfd87e50e +EBUILD mako-1.0.6.ebuild 1475 SHA256 815debb86981266af8880d48e7ec2797bf11e7f8e78132322fb4c1317fe4d3e5 SHA512 87c0cf382124cc4df200dc1693241e45fe2c6ef6af1e61d63b07984207c19ab0015783c853a6eb96e23a5e621b1e880e857b08a77e34f1b663f366852fe57013 WHIRLPOOL 5e05496f8beb253eb4835b1a9968005214d90168c3a02687618f8eba80fd51d04ea4084d212f1fe8788b10d441e73fe75e6d08a6c2f11d46e73823a2fa3bb46c +MISC ChangeLog 4435 SHA256 0f17740adf4b369e34fec603a55ba27302f884eec9ae432a00f6f70a0402fcca SHA512 ed0667aab0a1fce67a1f4b19f7d5c7382c8a9db63119a4df2860567e66dc5ae78e30612857297d86de000bf5ec8a8d301584893f2d6d34f836f3fe24c74a7c50 WHIRLPOOL 25b811e20daa232a9ce476491b36b0813bc5481d2032dd14e896ba654b1aec54404e826a9c78fbf6dc6a5dca054ca941142bf095cd3b34131ac366dc30b52856 +MISC ChangeLog-2015 11613 SHA256 71f22807a50d90b0a352f1779d569c759a6ca4aade7720ebd1a5a99e15955eb0 SHA512 2e7105a71366a86cacaf1db1f0e22e11d0aaaaadcb48b4cc37bc7d1892094e04e27006e907478e2e05ca7ed7c018f9694c889cbb6115fc9885360706aef6b6ed WHIRLPOOL 2e46cdf29763d008446b21c45efc0b154286bf9fc656ceec065a2e9fa7b366edda47e66205de56e1ee75a6205be92660150128dc0751e290508943ae23d6d50c +MISC metadata.xml 317 SHA256 345f956b756f726f59c602606ce0b294cd7db6cc97dd03b6b15b56ec64b6c557 SHA512 5df2d87e902b439727d8be3861e626ff798a546f09dbfdd19ee7384dc1ca0474d1b3ff2f638d262217f0105fc2536a3ac2440cc5b1161cb510976bd2ca6d1da8 WHIRLPOOL 823719ce6b94cd109f4714a1198d5810698f720ca9f8214dc0f1dcfd1df0a184bec4fc8e79fe89bd18b5b6ab5c921d481fe57491c27c13793284b495e720dd9d diff --git a/dev-python/mako/files/pygments-exception.patch b/dev-python/mako/files/pygments-exception.patch new file mode 100644 index 000000000000..0d2faca4f688 --- /dev/null +++ b/dev-python/mako/files/pygments-exception.patch @@ -0,0 +1,32 @@ +From 8eaf6b7ea92018202a886e1d919e2c6b0d307c99 Mon Sep 17 00:00:00 2001 +From: Mike Bayer <mike_mp@zzzcomputing.com> +Date: Mon, 22 May 2017 22:30:54 -0400 +Subject: [PATCH] - exception test fixes for more recent pygments + +Change-Id: Ibdfe5b2f2f3d1426921bcadf6740ae065ed0833b +--- + test/test_exceptions.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/test/test_exceptions.py b/test/test_exceptions.py +index 8321b25..bcaae3b 100644 +--- a/test/test_exceptions.py ++++ b/test/test_exceptions.py +@@ -91,7 +91,7 @@ def test_utf8_html_error_template_pygments(self): + assert "".encode(sys.getdefaultencoding(), + 'htmlentityreplace') in html_error + else: +- assert 'u''\ ++ assert '''\ + 'привет'\ + ''</span><span class="cp">}</span>'.encode( + sys.getdefaultencoding(), +@@ -220,7 +220,7 @@ def test_utf8_format_exceptions_pygments(self): + assert ''привет'</span>' in \ + l.get_template("foo.html").render().decode('utf-8') + else: +- assert 'u'прив'\ ++ assert ''прив'\ + 'ет'</span>' in \ + l.get_template("foo.html").render().decode('utf-8') + diff --git a/dev-python/mako/mako-1.0.0.ebuild b/dev-python/mako/mako-1.0.0.ebuild new file mode 100644 index 000000000000..6b8880fc9434 --- /dev/null +++ b/dev-python/mako/mako-1.0.0.ebuild @@ -0,0 +1,58 @@ +# 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 +} diff --git a/dev-python/mako/mako-1.0.3.ebuild b/dev-python/mako/mako-1.0.3.ebuild new file mode 100644 index 000000000000..79caccad1dcf --- /dev/null +++ b/dev-python/mako/mako-1.0.3.ebuild @@ -0,0 +1,55 @@ +# 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} pypy ) + +inherit distutils-r1 eutils versionator + +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 ~arm64 hppa ia64 ~m68k ~mips 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}" + +python_test() { + nosetests "${S}"/test || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + rm -rf doc/build || die + + use doc && local HTML_DOCS=( doc/. ) + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "Caching support" dev-python/beaker + 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 +} diff --git a/dev-python/mako/mako-1.0.6.ebuild b/dev-python/mako/mako-1.0.6.ebuild new file mode 100644 index 000000000000..2cc45b623373 --- /dev/null +++ b/dev-python/mako/mako-1.0.6.ebuild @@ -0,0 +1,56 @@ +# 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} pypy ) + +inherit distutils-r1 eutils versionator + +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 ~arm64 ~hppa ~ia64 ~m68k ~mips ~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}" +PATCHES=( "${FILESDIR}/pygments-exception.patch" ) + +python_test() { + nosetests "${S}"/test || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + rm -rf doc/build || die + + use doc && local HTML_DOCS=( doc/. ) + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "Caching support" dev-python/beaker + 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 +} diff --git a/dev-python/mako/metadata.xml b/dev-python/mako/metadata.xml new file mode 100644 index 000000000000..edcc780c70de --- /dev/null +++ b/dev-python/mako/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">mako</remote-id> + </upstream> +</pkgmetadata> |