diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-python/empy | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-python/empy')
-rw-r--r-- | dev-python/empy/Manifest | 2 | ||||
-rw-r--r-- | dev-python/empy/empy-3.3-r1.ebuild | 45 | ||||
-rw-r--r-- | dev-python/empy/empy-3.3.2.ebuild | 40 | ||||
-rw-r--r-- | dev-python/empy/metadata.xml | 5 |
4 files changed, 92 insertions, 0 deletions
diff --git a/dev-python/empy/Manifest b/dev-python/empy/Manifest new file mode 100644 index 000000000000..cea0a79f5724 --- /dev/null +++ b/dev-python/empy/Manifest @@ -0,0 +1,2 @@ +DIST empy-3.3.2.tar.gz 138168 SHA256 99f016af2770c48ab57a65df7aae251360dc69a1514c15851458a71d4ddfea9c SHA512 d9098823bbb26e4447aae9042e389e000f893615117512f9b786eedbc6875dee6b7f6be50021f68a4bd6e200b364852206b36bff5c48ae1754c8f0d49682d5f2 WHIRLPOOL 575c5f3db72e404ffc3f5ff74a6bab5636bcd33b54c09c15d2d5a8e8f9bef769356ec05da13d5bd23a1c64053c5978e5138f4266d7b4cedd977b56c109912944 +DIST empy-3.3.tar.gz 137144 SHA256 c625436d03cff8adbbade639d14a2df9bc4c4de99ec3a821ad4d6eeb66ade805 SHA512 36304577839f5e6b2fb9bb2c2d72880e1f16886b2afadbcb38fd31a85620bb0369e837b8a1d74eab09a074bfe1f7be199b38842673106e0d26f1d9abc53987a7 WHIRLPOOL 404db523f8ed8eaed297ab70b483eed8058c978ce025a35ceab70fa503fc1eefae15c8da9924cba6331a0f57a4c19f8c33cf93277614ae328ed8ad280fe62192 diff --git a/dev-python/empy/empy-3.3-r1.ebuild b/dev-python/empy/empy-3.3-r1.ebuild new file mode 100644 index 000000000000..f5833ad4eafd --- /dev/null +++ b/dev-python/empy/empy-3.3-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +PYTHON_COMPAT=( python2_7 pypy ) + +inherit distutils-r1 + +DESCRIPTION="A powerful and robust templating system for Python" +HOMEPAGE="http://www.alcyone.com/software/empy/" +SRC_URI="http://www.alcyone.com/software/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ~arm ia64 ppc x86" +IUSE="doc" + +DEPEND="" +RDEPEND="" + +python_prepare_all() { + sed -e "s:/usr/local/bin/python:/usr/bin/python:g" -i em.py || die "sed failed" + distutils-r1_python_prepare_all +} + +python_test() { + "${PYTHON}" em.py sample.em | diff sample.bench - + if [[ ${PIPESTATUS[0]} -ne 0 || ${PIPESTATUS[1]} -ne 0 ]]; then + die "Testing failed with ${EPYTHON}" + fi +} + +python_install_all() { + distutils-r1_python_install_all + if use doc; then + dodir /usr/share/doc/"${PF}"/examples + insinto /usr/share/doc/"${PF}"/examples + doins sample.em sample.bench + #3.3 has the html in this funny place. Fix in later version: + dohtml doc/home/max/projects/empy/doc/em/* + dohtml doc/home/max/projects/empy/doc/em.html + dohtml doc/index.html + fi +} diff --git a/dev-python/empy/empy-3.3.2.ebuild b/dev-python/empy/empy-3.3.2.ebuild new file mode 100644 index 000000000000..62e123ea3548 --- /dev/null +++ b/dev-python/empy/empy-3.3.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +inherit distutils-r1 + +DESCRIPTION="A powerful and robust templating system for Python" +HOMEPAGE="http://www.alcyone.com/software/empy/" +SRC_URI="http://www.alcyone.com/software/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~x86" +IUSE="doc" + +DEPEND="" +RDEPEND="" + +python_test() { + "${PYTHON}" em.py sample.em | diff sample.bench - + if [[ ${PIPESTATUS[0]} -ne 0 || ${PIPESTATUS[1]} -ne 0 ]]; then + die "Testing failed with ${EPYTHON}" + fi +} + +python_install_all() { + distutils-r1_python_install_all + if use doc; then + dodir /usr/share/doc/"${PF}"/examples + insinto /usr/share/doc/"${PF}"/examples + doins sample.em sample.bench + #3.3 has the html in this funny place. Fix in later version: + dohtml doc/home/max/projects/empy/doc/em/* + dohtml doc/home/max/projects/empy/doc/em.html + dohtml doc/index.html + fi +} diff --git a/dev-python/empy/metadata.xml b/dev-python/empy/metadata.xml new file mode 100644 index 000000000000..de483c53568f --- /dev/null +++ b/dev-python/empy/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>python</herd> +</pkgmetadata> |