summaryrefslogtreecommitdiff
path: root/dev-python/pastescript
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pastescript
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pastescript')
-rw-r--r--dev-python/pastescript/Manifest6
-rw-r--r--dev-python/pastescript/metadata.xml11
-rw-r--r--dev-python/pastescript/pastescript-2.0.2-r1.ebuild59
-rw-r--r--dev-python/pastescript/pastescript-2.0.2.ebuild56
4 files changed, 132 insertions, 0 deletions
diff --git a/dev-python/pastescript/Manifest b/dev-python/pastescript/Manifest
new file mode 100644
index 000000000000..9f9fccc77e40
--- /dev/null
+++ b/dev-python/pastescript/Manifest
@@ -0,0 +1,6 @@
+DIST PasteScript-2.0.2.tar.gz 117521 SHA256 c03f249805538cc2328741ae8d262a9200ae1c993119b3d9bac4cd422cb476c0 SHA512 2f093eb982972fed354219c75c2e008931cea553960cea8aaafbe57cde8556de5626e7eb9bb3b9b7328bad3b7d9899f11fc9773a65380396dae506e7531516de WHIRLPOOL 951c16499bb9e120813749871cfdc7b36b04660c4dbb4c0d2c7335312a8b58c412dc0ca49029ce674be90207645eb1657bde8ae869ffb72d29c592ca978cdca9
+EBUILD pastescript-2.0.2-r1.ebuild 1321 SHA256 6b05b854a216643b9b9376c0f725978a977ef3e8c36d83aded330c657507706a SHA512 3feca93a4d9cf5712c874eca4f43c5ad3d937a9fc12f7c37be5e3118cec2ce1d0f8aa8c62e4c1f4e419e74c02f4177a088aae2d572256e3210b5c259b10bee0f WHIRLPOOL 1eae19c25b799a5013d35dd6b5752b479f1d7cc013242cbba1ca94a0aca2893cca8dfb35ceb6a4a5c3fea9af9bfc1a29e69ae84bc7de227d0fe41054ead97c89
+EBUILD pastescript-2.0.2.ebuild 1226 SHA256 699a38cbdabb2e7d1d29d3bb9c66d30172fb57dcb5fa2affce25ef80923c7aea SHA512 e8dc8003d847b4c53a87f8ffcac9dd152c6defdc5e51bab5ae891d042e9b6a358f9cb63ac0ff83e72c12e237adcb8fb89bb81dcd767ff91a2a8904496287e92c WHIRLPOOL 241721ab8c944c269bfdc25351e5ea36358565a71978efa9d3247f29633f16189dc142e63f4a91486595befd610a938754d86b1222d02a060f457341dd455dec
+MISC ChangeLog 2957 SHA256 d7109adb1ea6d2e629816c74b0aab2d95ea087fcf2bafa49d0af2bb32c45a48e SHA512 1a534f1e20c90da23bfe415c7e686677d67fd424a5d7caf937ef342f97aa07c22fa755294c5208fdcbe36b5e0d866cb537cf43517b687998841f51696f7a19f3 WHIRLPOOL 832dd06849f762e4ce031aa96ff2afc3cfb8b4f2b913cf634d543ed6d150f970b622f792beef9e62e687712fec1e510cf2d620369371e142f778e3392a5b1f9c
+MISC ChangeLog-2015 3344 SHA256 18b62082d4f481d224ff287fcee3fe7d088b58b1b3726e5005b2ba61e6ec0739 SHA512 40d5c1ba06afe52cec0c76adc2d5e30ab262c811b64e0739e0a2e9e271be65ee9a17e5e816cb2d077051220e2183aace544068ccc99b98ff8af9d8dcf8e79d5a WHIRLPOOL 5a39b4e7297757f38ec52a47ebd8ce46cf13be3d284503d1583a744c9367b249a327f86944de38bcaba10a1b36bc3f2eb5852a2d64d0d232173912c19d1ccda4
+MISC metadata.xml 324 SHA256 418fce87eac1b9271413dcec07e4c32807062aedfabb5a09f9206493502724bd SHA512 48a93ec635e32513438b44cb67bd7302c6bc55c72281d253ee4cd4b0a7d4c25ec61b028d861fa1acd2b40f22479fc0a1f726d3334c8a2970ad2b45729279ec47 WHIRLPOOL e01855fd308bda427f79b319578ca288d06bf591ba92b37b862a8c77c12ecad9174f48857608a8bdbc3d69705e5180378a3223ccff0ac41ec7c69dfc8cddc514
diff --git a/dev-python/pastescript/metadata.xml b/dev-python/pastescript/metadata.xml
new file mode 100644
index 000000000000..f51d9da0abb6
--- /dev/null
+++ b/dev-python/pastescript/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">PasteScript</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pastescript/pastescript-2.0.2-r1.ebuild b/dev-python/pastescript/pastescript-2.0.2-r1.ebuild
new file mode 100644
index 000000000000..328f1c65c2d6
--- /dev/null
+++ b/dev-python/pastescript/pastescript-2.0.2-r1.ebuild
@@ -0,0 +1,59 @@
+# 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 distutils-r1
+
+MY_PN="PasteScript"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A pluggable command-line frontend, including commands to setup package file layouts"
+HOMEPAGE="http://pythonpaste.org/script/ https://pypi.python.org/pypi/PasteScript"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+IUSE="doc test"
+
+RDEPEND="
+ dev-python/namespace-paste[${PYTHON_USEDEP}]
+ >=dev-python/paste-1.3[${PYTHON_USEDEP}]
+ dev-python/pastedeploy[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ doc? (
+ dev-python/pygments[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ )
+ test? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+
+# Tests are broken.
+RESTRICT="test"
+
+S="${WORKDIR}/${MY_P}"
+
+python_compile_all() {
+ if use doc; then
+ einfo "Generation of documentation"
+ esetup.py build_sphinx
+ fi
+}
+
+python_test() {
+ nosetests -v -v || die
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ if use doc; then
+ cd "${BUILD_DIR}"/sphinx/html || die
+ dohtml -r [a-z]* _static
+ fi
+
+ find "${D}" -name '*.pth' -delete || die
+}
diff --git a/dev-python/pastescript/pastescript-2.0.2.ebuild b/dev-python/pastescript/pastescript-2.0.2.ebuild
new file mode 100644
index 000000000000..f47206a3675f
--- /dev/null
+++ b/dev-python/pastescript/pastescript-2.0.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_4 )
+
+inherit distutils-r1
+
+MY_PN="PasteScript"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A pluggable command-line frontend, including commands to setup package file layouts"
+HOMEPAGE="http://pythonpaste.org/script/ https://pypi.python.org/pypi/PasteScript"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+IUSE="doc test"
+
+RDEPEND="
+ >=dev-python/paste-1.3[${PYTHON_USEDEP}]
+ dev-python/pastedeploy[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ doc? (
+ dev-python/pygments[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ )
+ test? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+
+# Tests are broken.
+RESTRICT="test"
+
+S="${WORKDIR}/${MY_P}"
+
+python_compile_all() {
+ if use doc; then
+ einfo "Generation of documentation"
+ esetup.py build_sphinx
+ fi
+}
+
+python_test() {
+ nosetests -v -v || die
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ if use doc; then
+ cd "${BUILD_DIR}"/sphinx/html || die
+ dohtml -r [a-z]* _static
+ fi
+}