summaryrefslogtreecommitdiff
path: root/dev-python/zsi
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/zsi
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/zsi')
-rw-r--r--dev-python/zsi/Manifest3
-rw-r--r--dev-python/zsi/metadata.xml16
-rw-r--r--dev-python/zsi/zsi-2.1_alpha1-r1.ebuild54
3 files changed, 73 insertions, 0 deletions
diff --git a/dev-python/zsi/Manifest b/dev-python/zsi/Manifest
new file mode 100644
index 000000000000..892b4f07d6b6
--- /dev/null
+++ b/dev-python/zsi/Manifest
@@ -0,0 +1,3 @@
+DIST ZSI-2.1-a1.tar.gz 932958 BLAKE2B a0133c2d2febc3be64d738a38304a0148fd6895333a48c940752af4ca25019f1cb26d606b3da86c2d386e117f081a83d47a52fd0ec9cbb12393f9397806f73cc SHA512 13f8734a5b09caa83786e776bc1104061812d05543b1412cda02dd904d6cd926042a4a882ffac71081a5275879d79927ea225ae2753936e0d026aee074f07974
+EBUILD zsi-2.1_alpha1-r1.ebuild 1049 BLAKE2B 382cd4c416c28cd96a9703aeb223d0bd21b4fdb74bbeeac8669b3c2077a265faa381c7ba246acfc4b493622fe43aca3e829661825b9f15daf2287f65acce54ed SHA512 95d0fcb924e0638c7f5fc95dba85450325b8bdcb36fd85b052d201d9bedc0860d17fadd75925c556f19dbe7206b9f0d3f72e91b1c596da6fe4a873968b32c247
+MISC metadata.xml 483 BLAKE2B fd435132167885ba839652da2cb28f7baa2c19838b10a60b292a4e9c870051370ab5cbd8e83768be271acc6fe033088a47e1590488905cce6f34d40a9e03af16 SHA512 18ed9802e4fea851659f7020a5aed0f61c25a22fe30aab9ccce3c711454757b48f520fb6ca0237c6134e090e4d2f8b781dab3793e422023622dd417ed1a6712f
diff --git a/dev-python/zsi/metadata.xml b/dev-python/zsi/metadata.xml
new file mode 100644
index 000000000000..5a758b8ad8f3
--- /dev/null
+++ b/dev-python/zsi/metadata.xml
@@ -0,0 +1,16 @@
+<?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>
+ <use>
+ <flag name="twisted">add support for python-twisted (needs
+ <pkg>dev-python/twisted-core</pkg> and <pkg>dev-python/twisted-web</pkg>)
+ </flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">pywebsvcs</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/zsi/zsi-2.1_alpha1-r1.ebuild b/dev-python/zsi/zsi-2.1_alpha1-r1.ebuild
new file mode 100644
index 000000000000..c4eee8e2d0f2
--- /dev/null
+++ b/dev-python/zsi/zsi-2.1_alpha1-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+MY_PN="ZSI"
+MY_P="${MY_PN}-${PV/_alpha/-a}"
+
+DESCRIPTION="Web Services for Python"
+HOMEPAGE="http://pywebsvcs.sourceforge.net/zsi.html"
+SRC_URI="mirror://sourceforge/pywebsvcs/${MY_P}.tar.gz"
+
+LICENSE="BSD MIT"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="doc examples twisted"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ twisted? (
+ dev-python/twisted-core
+ dev-python/twisted-web
+ )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+python_prepare_all() {
+ if ! use twisted; then
+ sed -i \
+ -e "/version_info/d"\
+ -e "/ZSI.twisted/d"\
+ setup.py || die "sed failed"
+ fi
+ distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ if use doc; then
+ dohtml doc/*.{html,css,png}
+ fi
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins -r doc/examples/* samples/*
+ fi
+}