summaryrefslogtreecommitdiff
path: root/dev-python/mantissa
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/mantissa
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/mantissa')
-rw-r--r--dev-python/mantissa/Manifest5
-rw-r--r--dev-python/mantissa/mantissa-0.7.0-r1.ebuild45
-rw-r--r--dev-python/mantissa/mantissa-0.8.4.ebuild47
-rw-r--r--dev-python/mantissa/metadata.xml15
4 files changed, 112 insertions, 0 deletions
diff --git a/dev-python/mantissa/Manifest b/dev-python/mantissa/Manifest
new file mode 100644
index 000000000000..23fab5c3fc04
--- /dev/null
+++ b/dev-python/mantissa/Manifest
@@ -0,0 +1,5 @@
+DIST Mantissa-0.7.0.tar.gz 827087 BLAKE2B e7201518a87237ba48778692e7665300bf032f06fee175df16cc47bfddeaac62591dbf88247da163e4dd14d1b4fb948450ff09424922ce6ae884527acc950bfc SHA512 a0ef58902d0d752f2643f0c9639d9338a0441651cc0a2c3b45493a79b81757c4b642a7adcc940e0228033280927b7dad460a345fac62da1dcb9d73babd981d8c
+DIST mantissa-0.8.4.tar.gz 832649 BLAKE2B 1658f34d9f3328953628da188849c7b9b522ece03898398ff7181aa1122c82c9aa2f9e4ac862553177fe559d653aa63a7eea0b067ced594215546635f053a839 SHA512 448f26cb540e7d19ede1b39c1b0157ccdd04baeac6cb8eb918fec2eb2bd395e12b0a659633ffb4c260a84c87025b81b41a8e168e7d1f1a0235bfe25f492c2c32
+EBUILD mantissa-0.7.0-r1.ebuild 1318 BLAKE2B 4caf0db1b2d4a926de5ef2dd474eb15d7069fe19db81d76c652605de05a4bb5c453643ca62b6548315cfd111c6333b49165ccd10f21847f1a53501973c4aa4cb SHA512 98830c0b149a485f45100172026ec43b681409ed719c0d3bc47cccd12903397d9ab8d86a26fa92bc72aad361d36a258a4aed6386b4b77343de56bf5ddf3dcb91
+EBUILD mantissa-0.8.4.ebuild 1509 BLAKE2B 55d57879c6e0231a8f7fc385df7be2346a7c6180d3794d86e813be3b725f37b591937e26c48faf49c49c2c1c3f763f07d07c003ad4f48730de402fd09e5fa7e5 SHA512 13f2258bf6e07778f868e0fa44c128d31fd909e361b34911bbe13e14aac57efeaee189765578a466e2fee350dc2efe1f8c33e81629850c74c7eb24241122f10a
+MISC metadata.xml 585 BLAKE2B 2a0ea0ae36f2bf962fc9f3c4c2fd5a43bba8e3f96b0540ff9c834e68e4e1f31a81c002f2a15947fd6e8dd501949d072cf4925c1a73d39592621d11cb3f829537 SHA512 5126e2561efaf55f617c60991b2870cb51ad784f8185bd18650a605139103cdd1b1011e2f4cf8c2ab2b4806b65aee9402ec575f93deedf671e126d9bf2b05ee5
diff --git a/dev-python/mantissa/mantissa-0.7.0-r1.ebuild b/dev-python/mantissa/mantissa-0.7.0-r1.ebuild
new file mode 100644
index 000000000000..d1779b496aa2
--- /dev/null
+++ b/dev-python/mantissa/mantissa-0.7.0-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )
+
+inherit twisted-r1
+
+DESCRIPTION="An extensible, multi-protocol, multi-user, interactive application server"
+HOMEPAGE="https://github.com/twisted/mantissa https://pypi.org/project/Mantissa/"
+SRC_URI="mirror://pypi/${TWISTED_PN:0:1}/${TWISTED_PN}/${TWISTED_P}.tar.gz"
+
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND=">=dev-python/axiom-0.6.0-r1[${PYTHON_USEDEP}]
+ >=dev-python/cssutils-0.9.10-r1[${PYTHON_USEDEP}]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ >=dev-python/nevow-0.10.0-r1[${PYTHON_USEDEP}]
+ >=dev-python/pytz-2012j[${PYTHON_USEDEP}]
+ dev-python/twisted-core[${PYTHON_USEDEP}]
+ dev-python/twisted-mail[${PYTHON_USEDEP}]
+ >=dev-python/vertex-0.3.0-r1[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+TWISTED_PLUGINS=( axiom.plugins nevow.plugins xmantissa.plugins )
+
+python_install() {
+ distutils-r1_python_install
+
+ # remove foreign caches we don't want to own
+ find "${D}$(python_get_sitedir)" -name 'dropin.cache' -delete || die
+ # then our own one
+ touch "${D}$(python_get_sitedir)"/xmantissa/plugins/dropin.cache || die
+}
+
+python_install_all() {
+ dodoc NAME.txt NEWS.txt
+
+ distutils-r1_python_install_all
+}
+
+python_test() {
+ trial xmantissa || die "tests failed with ${EPYTHON}"
+}
diff --git a/dev-python/mantissa/mantissa-0.8.4.ebuild b/dev-python/mantissa/mantissa-0.8.4.ebuild
new file mode 100644
index 000000000000..a745d6a24ad8
--- /dev/null
+++ b/dev-python/mantissa/mantissa-0.8.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )
+
+inherit twisted-r1
+
+MY_PN="${PN/m/M}"
+DESCRIPTION="An extensible, multi-protocol, multi-user, interactive application server"
+HOMEPAGE="https://github.com/twisted/mantissa https://pypi.org/project/Mantissa/"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+ >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
+ >=dev-python/axiom-0.7.0[${PYTHON_USEDEP}]
+ >=dev-python/cssutils-0.9.5[${PYTHON_USEDEP}]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ >=dev-python/nevow-0.9.5[${PYTHON_USEDEP}]
+ >=dev-python/pytz-2012j[${PYTHON_USEDEP}]
+ >=dev-python/twisted-core-14.0.0[${PYTHON_USEDEP}]
+ >=dev-python/twisted-mail-14.0.0[${PYTHON_USEDEP}]
+ >=dev-python/twisted-conch-14.0.0[${PYTHON_USEDEP}]
+ >=dev-python/vertex-0.2[${PYTHON_USEDEP}]
+ dev-python/pycrypto[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( ${RDEPEND} )"
+
+TWISTED_PLUGINS=( axiom.plugins nevow.plugins xmantissa.plugins )
+
+python_test() {
+ # https://github.com/twisted/mantissa/issues/27
+
+ trial xmantissa || die "tests failed with ${EPYTHON}"
+}
+
+python_install() {
+ distutils-r1_python_install
+
+ # remove foreign caches we don't want to own
+ find "${D}$(python_get_sitedir)" -name 'dropin.cache' -delete || die
+ # then our own one
+ touch "${D}$(python_get_sitedir)"/xmantissa/plugins/dropin.cache || die
+}
diff --git a/dev-python/mantissa/metadata.xml b/dev-python/mantissa/metadata.xml
new file mode 100644
index 000000000000..be380a8e5f32
--- /dev/null
+++ b/dev-python/mantissa/metadata.xml
@@ -0,0 +1,15 @@
+<?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>
+ <longdescription lang="en">Mantissa is an application server. It provides integration between
+ the AxiomProject object database, and the TwistedFramework, as well
+ as web user-interface utilities.</longdescription>
+ <upstream>
+ <remote-id type="pypi">Mantissa</remote-id>
+ <remote-id type="github">twisted/mantissa</remote-id>
+ </upstream>
+</pkgmetadata>