summaryrefslogtreecommitdiff
path: root/dev-python/beaker
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/beaker
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/beaker')
-rw-r--r--dev-python/beaker/Manifest9
-rw-r--r--dev-python/beaker/beaker-1.6.4-r1.ebuild45
-rw-r--r--dev-python/beaker/beaker-1.8.0-r1.ebuild39
-rw-r--r--dev-python/beaker/beaker-1.8.1.ebuild48
-rw-r--r--dev-python/beaker/metadata.xml12
5 files changed, 153 insertions, 0 deletions
diff --git a/dev-python/beaker/Manifest b/dev-python/beaker/Manifest
new file mode 100644
index 000000000000..51d3d6bd9513
--- /dev/null
+++ b/dev-python/beaker/Manifest
@@ -0,0 +1,9 @@
+DIST Beaker-1.6.4.tar.gz 54480 SHA256 5b06dcc9f7b1921bc962235c4051aa5f3f5d3609f42faa6064dc614ace031a3a SHA512 5a6835d01d0b1bee57844525f1223d74edd26f07cc769df6a8cfa77f44dda4435eb96639175928a1caf7c4f927ac3a674c0fd0e7f50f1aea91da7880de3a6704 WHIRLPOOL 13162d6733b69966133c17171b6725e0a2e7c2f56942bbc591ff3992dee50d7a5e91cc11a6a4ae775a9ec3dab805c2ae352982f0b1670190325b11d06a2e52a9
+DIST beaker-1.8.0.tar.gz 77211 SHA256 a2e275390c60e5097eac5478ebb2bac0e8a5b0825c50b9563859c31a9bfa7918 SHA512 5018b96058a6dc892350eb1fea0e1a44f872616444049e38a19f302b7e39a4710ecf3ddcc62361213f2663d3ecfa72823ce431f29f837e4a49ec556cf69fd88f WHIRLPOOL 342982dea87b09241ca0faba6ea6e7c346cc690f12c5727dc6266fba1188fbef127abd2c7e8b8a68c68f865f6975de092b1249a39e630e7eda5fe30893ba4e6a
+DIST beaker-1.8.1.tar.gz 80541 SHA256 1b72df92918be4a72c732ed9a28f0d77fb46f4449bd8bf58eaf394ecbf0aab6f SHA512 bd9c4a4bbf21749a59c50ffff1d1dbff8bc9116394f79924efc6be637fb8c1ffef91a8363da3375bffdcb0ba291b71b57f75303f3fbe111e8670a390058e9fa5 WHIRLPOOL 8da210bd13a53f6fb856ef88bac3f751d64beb0af182ac6997195a1c5ad98906902265254811930e1fa7b4d6230442ceea3f8516affe42977608fa6fdbbce7c4
+EBUILD beaker-1.6.4-r1.ebuild 1229 SHA256 b0017aeed847b33e72ccd1571e72634fef803efd32ba266275c163ac6890092a SHA512 6d242a75d4807003321ec17adfc3cb647e1f4c1b40576cf0546a6c175275c383fa25966205e77bd34163b66a146a1a099da969a21ab0ecb16c3927e6d337097e WHIRLPOOL 6f2415e6b134eef5b07c35b1b1842b0918ebb5893d77286f044acadce925077ec312e6b721379d1f60c5b08711f1d45374dd091ea3518c42d2bbabc043d7ae55
+EBUILD beaker-1.8.0-r1.ebuild 1078 SHA256 0b6a2ab8e152eebc57bfb3c3adbc06783918e4b0509930bb90364f6027dbf228 SHA512 7c8b8760a1f76a6182612a45c2f71f531748441d45b59db4b5243b29fac81e78e03afa47dfb9a5a70aa110aff127868eccd1bfc8e046f737f667ccfc3c888829 WHIRLPOOL 2eb0f71773c36919e3439c192bb9e566d636d8200193dba44a9d81194e5ade2ab3be78ba6310d8af267a90a432d9239d67686dbe64ab0caa759c8c742b90db9d
+EBUILD beaker-1.8.1.ebuild 1305 SHA256 1c8f3283a6fc74fb0046c25cb78a56fec93276b17e7011bd954f9f595103fa5b SHA512 15298245549fa0a9a20034a8080fbfce30fe147df68ec8ed720ff6085d9c4f1218fdbe00b6ad14a30563730bc8c8f75c4190d850151416d2afd585ca1c0fb410 WHIRLPOOL dc305be6f1a84ed0fd6aab7948231847d8005504085686ce372416519a132e58e788476c1e3c65a4b6ba144cf5561c606bec46aacaca00d427146f5a72c2ff93
+MISC ChangeLog 3797 SHA256 ab258b00979a4c1971710224a9cfab4619877010d487a88ee8f24354484f68ad SHA512 ca14f4cfee508cdc3b3003608f286a96d14b7f9841f22f9b5ba5d47d52709694ee6598be84f1b0c8dc40e49140883322d9941d363b201b1245e39f897fbe13b7 WHIRLPOOL a19fa75b09c5dce7dfdc564159b94e877d18c4f5bf981c2a169aa1009ddc1fe78497ef7369464bf9904b9691eac3011f1a1e06081385dfda0e5091baeef19f1e
+MISC ChangeLog-2015 8135 SHA256 fbc3410dce0bc0f5cfa2cfb4942889df44939e9394a89ab00de253ce440e590e SHA512 2c368a3a27b9b8680f26a7cd7469927d6098f57e38395d881c7fa0e572ab03836e38ca0b89de4be23a97d6d3a528c3324e9784650fc3e938d9c10d5b5b76edb7 WHIRLPOOL 5b16e872aa6bf3c382e8b9ab7ce1203815f36a9eefcc132758c22afc25138cd33f08aa2b368a3b3a390e556002d1c00a9ce56f5e38880e945542ed555f0c8083
+MISC metadata.xml 376 SHA256 b28bf9f04e18fec8c6780bb2100523355a2dc37c4aba7b43c6214c497c69f2f1 SHA512 09586c7ae4aa5259c0776ef77713538e8b8dc730da802d95b3de5501aa6c88c96c1967740ff77a124821bbd93b13e9547879f452d46325916237aeaddf58c353 WHIRLPOOL 6e45ea2d85588574349699a7c0eacf10dc2c5d3f906996ef66a14ec05ad9e376bb9ba5a93117206b1368137290cd216773ff45acf244192bd505c0d8fc4b2dd8
diff --git a/dev-python/beaker/beaker-1.6.4-r1.ebuild b/dev-python/beaker/beaker-1.6.4-r1.ebuild
new file mode 100644
index 000000000000..236d2b83db9c
--- /dev/null
+++ b/dev-python/beaker/beaker-1.6.4-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# py3.3 unfit with some types
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+MY_PN="Beaker"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A Session and Caching library with WSGI Middleware"
+HOMEPAGE="http://beaker.groovie.org/ https://pypi.python.org/pypi/Beaker"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~hppa ia64 ~ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+IUSE="test"
+
+# webtest-based tests are skipped when webtest is not installed
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/webtest[${PYTHON_USEDEP}] )"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+python_prepare_all() {
+ # Workaround for http://bugs.python.org/issue11276.
+ sed -e "s/import anydbm/& as anydbm/;/import anydbm/a dbm = anydbm" \
+ -i beaker/container.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ cp -r -l tests "${BUILD_DIR}"/ || die
+ pushd "${BUILD_DIR}"/tests > /dev/null
+ nosetests || die "Tests fail with ${EPYTHON}"
+ popd > /dev/null
+}
diff --git a/dev-python/beaker/beaker-1.8.0-r1.ebuild b/dev-python/beaker/beaker-1.8.0-r1.ebuild
new file mode 100644
index 000000000000..76ad4a3b3b75
--- /dev/null
+++ b/dev-python/beaker/beaker-1.8.0-r1.ebuild
@@ -0,0 +1,39 @@
+# 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,5}} )
+
+inherit distutils-r1
+
+DESCRIPTION="A Session and Caching library with WSGI Middleware"
+HOMEPAGE="https://github.com/bbangert/beaker https://pypi.python.org/pypi/Beaker"
+# pypi tarball lacks tests
+SRC_URI="https://github.com/bbangert/beaker/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+IUSE="test"
+
+RDEPEND="virtual/python-funcsigs[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ ${RDEPEND}
+ $(python_gen_impl_dep sqlite)
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/pycrypto[${PYTHON_USEDEP}]
+ dev-python/sqlalchemy[${PYTHON_USEDEP}]
+ dev-python/webtest[${PYTHON_USEDEP}]
+ )"
+
+python_test() {
+ esetup.py test
+}
+
+pkg_postinst() {
+ elog "beaker also has optional support for packages"
+ elog "pycrypto and pycryptopp"
+}
diff --git a/dev-python/beaker/beaker-1.8.1.ebuild b/dev-python/beaker/beaker-1.8.1.ebuild
new file mode 100644
index 000000000000..c44df31f8d96
--- /dev/null
+++ b/dev-python/beaker/beaker-1.8.1.ebuild
@@ -0,0 +1,48 @@
+# 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,5}} )
+
+inherit distutils-r1
+
+DESCRIPTION="A Session and Caching library with WSGI Middleware"
+HOMEPAGE="https://github.com/bbangert/beaker https://pypi.python.org/pypi/Beaker"
+# pypi tarball lacks tests
+SRC_URI="https://github.com/bbangert/beaker/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+IUSE="test"
+
+RDEPEND="virtual/python-funcsigs[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ ${RDEPEND}
+ $(python_gen_impl_dep sqlite)
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ || (
+ dev-python/pycryptodome[${PYTHON_USEDEP}]
+ dev-python/pycrypto[${PYTHON_USEDEP}]
+ )
+ dev-python/sqlalchemy[${PYTHON_USEDEP}]
+ dev-python/webtest[${PYTHON_USEDEP}]
+ )"
+
+python_prepare_all() {
+ # disarm pycrypto dep to allow || ( pycryptodome pycrypto )
+ sed -i -e "/TEST/s:'pycrypto'::" setup.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ esetup.py test
+}
+
+pkg_postinst() {
+ elog "beaker also has optional support for packages"
+ elog "pycrypto and pycryptopp"
+}
diff --git a/dev-python/beaker/metadata.xml b/dev-python/beaker/metadata.xml
new file mode 100644
index 000000000000..708dfb0218b6
--- /dev/null
+++ b/dev-python/beaker/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">Beaker</remote-id>
+ <remote-id type="github">bbangert/beaker</remote-id>
+ </upstream>
+</pkgmetadata>