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/peppercorn |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/peppercorn')
-rw-r--r-- | dev-python/peppercorn/Manifest | 5 | ||||
-rw-r--r-- | dev-python/peppercorn/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/peppercorn/peppercorn-0.5.ebuild | 45 |
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/peppercorn/Manifest b/dev-python/peppercorn/Manifest new file mode 100644 index 000000000000..e96650b87479 --- /dev/null +++ b/dev-python/peppercorn/Manifest @@ -0,0 +1,5 @@ +DIST peppercorn-0.5.tar.gz 19637 SHA256 921cba5d51fa211e6da0fbd2120b9a98d663422a80f5bb669ad81ffb0909774b SHA512 37f9df282872b0c664780f5e27caf81cc379b05009756cf6c79290b09893d88427f3619916688412dabf20e99f264da8832d959563943e2910b1fcac696edc31 WHIRLPOOL a104c3dca197c5bdd32a9a3f4fafb7c93459cbb8da13f8e581990962ac9afc56c22cdbb101d17271983b61fb0e83f4c0b25590a88d8f54c403110067ea3ba12f +EBUILD peppercorn-0.5.ebuild 1090 SHA256 d190dd2cd7151f6c41ae3a3fbdfecb3fbb968e915a0d114c03bbc6d3e48ca42a SHA512 ee4fd619cb57284b489e75f09f5bc08a620a378ae92db4e04dcc28a3986c44534ce15aa93c726cb83d7024bc58704f05909b87f3ebca66a608b4bb28546a2f6a WHIRLPOOL 3d2dd9626e5b73ae6fa288dc4ae7fa10f93e8f61488a6f6ee9bc414fb97b214d06ee8c2b19f8023201bdeb1787cda5a089e1df29296b6447a8f62ec4a0e668d9 +MISC ChangeLog 2823 SHA256 3b581ca9a50d8fefac8d402e773152dd6073238d16a88102034adbca2eb0dbd7 SHA512 23bde6ca593fa3983e58a36b01d681dc091d2237ed687057ea87911f43e18c1e891314a72d940ea699f454cec8b39af9030923c15a34a08fd7f9552e3f34ac08 WHIRLPOOL 9afd0a6e10fb491a83fc353f5dc06f2aa11414b15e871b7edc7ad800a04640425825f1760bd69bc601b45776b657f21cbedfd2bacfb8a3042f9151ed4e4cc064 +MISC ChangeLog-2015 1746 SHA256 9725d419a4ed6fbd9df84009bfcbe2ede6319653ae85c7cbdbea620aa705c451 SHA512 c17297023a3c904a29cb7cc1596a71a19b1f1b978bd0abbf3f564d9418bf794b38f23bbb988273b91c295d1232952b0362e0e56231d9d8cb9c76fe34b06d7a6a WHIRLPOOL 54cf11a1f6899d3b7db72e797e093f9f7cdb0d93be6e789bef5b92eb50c0fd8c39e7d78c74296f4ca9963e1cb496765e14a0663fbf377ee542bcc80c2cc11829 +MISC metadata.xml 382 SHA256 6187f0df1d2cf9a200b6832442cb298f44c3a69916e9892f4e4a81fb7425b4cb SHA512 87d4af71c685754259be695e02aa5a99e49f9f6c72a57c15ed7e5e6777255cc49f8400d349fd0e1308e25ce36b0a880696c9f8cbc2e6ea991d34901cf38c8235 WHIRLPOOL 50063ea0bbfb018f6086c121f84bafb598eef154465319eb0abdfa90cd0e0f0ab5212148f2b776fc62799315917c3a1ae26b1859abd08a67e3302eb06e1cc4a3 diff --git a/dev-python/peppercorn/metadata.xml b/dev-python/peppercorn/metadata.xml new file mode 100644 index 000000000000..653753bab731 --- /dev/null +++ b/dev-python/peppercorn/metadata.xml @@ -0,0 +1,12 @@ +<?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">peppercorn</remote-id> + <remote-id type="github">Pylons/peppercorn</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/peppercorn/peppercorn-0.5.ebuild b/dev-python/peppercorn/peppercorn-0.5.ebuild new file mode 100644 index 000000000000..fa04999d3d24 --- /dev/null +++ b/dev-python/peppercorn/peppercorn-0.5.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) + +inherit distutils-r1 + +DESCRIPTION="A library for converting a token stream into a data structure for use in web form posts" +HOMEPAGE="https://github.com/Pylons/peppercorn https://pypi.python.org/pypi/peppercorn" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="repoze" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" +RDEPEND="" + +# Include COPYRIGHT.txt because the license seems to require it +DOCS=( CHANGES.txt README.txt COPYRIGHT.txt ) + +python_prepare_all() { + # Fix Sphinx theme. courtesy of Arfrever + sed -e "/# Add and use Pylons theme/,+36d" -i docs/conf.py || die "sed failed" + + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + esetup.py test +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + + distutils-r1_python_install_all +} |