Add soaplib ebuild.

This commit is contained in:
Mike Hiretsky 2011-10-26 10:33:04 +04:00
parent 12cbd36fd0
commit 459673c2b9
3 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,3 @@
DIST soaplib-1.0.0.tar.gz 68722 RMD160 4e91819e83283a45c6883127bff2a096ed56183c SHA1 937c39e356ef7726030f3d41987e8c612f3e9401 SHA256 3f92388651ef4595824006094626b0bfa257cc04c53c1e129cea0e851b652dba
EBUILD soaplib-1.0.0.ebuild 859 RMD160 cd6dc91b80d7c7aceb24608655cd1e315debce6c SHA1 494a147f3bbf10189f701b65eb2c4c753456160b SHA256 348d429c97065c8f7777a1921b79c91a277da917c084d11589de83806cb016c3
MISC metadata.xml 266 RMD160 84716260658a48493fd1abde8ef2745911629729 SHA1 43f465f09edbbc46fe72227aa3ffb1235fcf3033 SHA256 5befc3fb6db71e8add5a2adb3cf0f5ce6df4d388c0fc401b3de2722d33dabbe9

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>maintainer-wanted</herd>
<longdescription lang="en">
A simple library for writing soap web services.
</longdescription>
</pkgmetadata>

View file

@ -0,0 +1,44 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
PYTHON_DEPEND="2"
inherit distutils eutils
DESCRIPTION="A simple library for writing soap web services."
HOMEPAGE="http://wiki.github.com/jkp/soaplib"
SRC_URI="https://github.com/${PN}/${PN}/tarball/${P} -> ${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples "
RDEPEND="
dev-python/lxml
dev-python/pytz
"
DEPEND="${RDEPEND}
dev-python/setuptools
"
S="${WORKDIR}/soaplib-soaplib-2801978"
src_install() {
# DOCS="soaplib_docs.markdown TODO.txt"
distutils_src_install
rm -rf "${ED}$(python_get_sitedir)/tests/"
if use examples ; then
insinto /usr/share/doc/${PF}/examples
doins examples/*.py || die "doins failed"
fi
}
src_test() {
"$(PYTHON)" setup.py test || die "tests failed"
}