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/zsi |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/zsi')
-rw-r--r-- | dev-python/zsi/Manifest | 5 | ||||
-rw-r--r-- | dev-python/zsi/metadata.xml | 16 | ||||
-rw-r--r-- | dev-python/zsi/zsi-2.1_alpha1-r1.ebuild | 54 |
3 files changed, 75 insertions, 0 deletions
diff --git a/dev-python/zsi/Manifest b/dev-python/zsi/Manifest new file mode 100644 index 000000000000..428d3a483de8 --- /dev/null +++ b/dev-python/zsi/Manifest @@ -0,0 +1,5 @@ +DIST ZSI-2.1-a1.tar.gz 932958 SHA256 253cd6968bc52e66121ee370831b93be385d65563a0e71c9c704db83901bf244 SHA512 13f8734a5b09caa83786e776bc1104061812d05543b1412cda02dd904d6cd926042a4a882ffac71081a5275879d79927ea225ae2753936e0d026aee074f07974 WHIRLPOOL 36eaa489579be09559c158cc2484cc63d628bfe5ac6239b6b00ea27760281c4ddc1b59cb01c6d551fcedadfd4d39bad8e9fa0ed86789222193052843fb87b963 +EBUILD zsi-2.1_alpha1-r1.ebuild 1049 SHA256 535ddfdf05023a6461b31eb991526d16b7ced2677523bb3a7a139e6580115af4 SHA512 95d0fcb924e0638c7f5fc95dba85450325b8bdcb36fd85b052d201d9bedc0860d17fadd75925c556f19dbe7206b9f0d3f72e91b1c596da6fe4a873968b32c247 WHIRLPOOL de9627c58acd277b49fc6e016d18ee3d51e8811ffd9bfb9d173cea0d9b7b4875ec56e837975f6e151bf3862bcdd591c3e35200d56525fa05bc0e8c3fe8564305 +MISC ChangeLog 2693 SHA256 f4df0a4a8ff6c9b73a8ecbe95394b2b69b7929eec29f76f3ef9f337cd9759a1f SHA512 c8b5c4dd84122f9d0e40dbb3a4abbd248bbf3328919fad64803dd52786b5e91b717afe0a4a3123035bbb07ca763b6d6d0aa8faddcfed7cd5caf0b7e08192b8c0 WHIRLPOOL 224f29da2f5ea7969ab11d159c426ae4672525c07ef055d2c21d8fbaa01fd6a21ee38753146dd71a4010497515b69631c82b5877d35f9d8f1f5bc6044a2b6866 +MISC ChangeLog-2015 3703 SHA256 445f0c88384330ed11a930c08601e35de2777966646a2f928ce6c08123e29dd4 SHA512 9d4b622a8ef58e6dc85f852ae6e8035a1a91af9f934647ae5c6d2e2e63833b0d20c2317f51e8f4fcad42a2c3ceae0c3586da0965cfc95698a6f5fca6d597113c WHIRLPOOL 9ffabaed6fe1f53100fe450d2b19fb9cfb7299d60e40245e4f5e9125186b725ca87b9fbcd390314c2f0762677ac3c9062726adfd1a324fc3658ad0407f38a8da +MISC metadata.xml 483 SHA256 f6a2c10a75951fd60ffe1f23e9084e773ed031ff4838a09aec51a935feb9d2f5 SHA512 18ed9802e4fea851659f7020a5aed0f61c25a22fe30aab9ccce3c711454757b48f520fb6ca0237c6134e090e4d2f8b781dab3793e422023622dd417ed1a6712f WHIRLPOOL b343aa54ca35447b0e6aeac4384cb5e30934ece870cd3134f4296f1eaf21e578ab697ab86ddc9d3e994ae5699d479e820f6bc87e66b57cfaa3fbc60fb1098ac7 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 +} |