summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik (Xarthisius) <xarthisius@gentoo.org>2011-06-12 10:30:49 +0200
committerKacper Kowalik (Xarthisius) <xarthisius@gentoo.org>2011-06-12 10:30:49 +0200
commite4bcd9dcda4b1b5ea6b4cb11e387803e30e99a70 (patch)
treeae5c00dc8ae7f5aacb963cc6fc849a691aff16d6
parent[net-misc/msrprelay] initial import (diff)
downloadxarthisius-e4bcd9dcda4b1b5ea6b4cb11e387803e30e99a70.tar.gz
xarthisius-e4bcd9dcda4b1b5ea6b4cb11e387803e30e99a70.tar.bz2
xarthisius-e4bcd9dcda4b1b5ea6b4cb11e387803e30e99a70.zip
[dev-python/python-msrplib] Initial import
-rw-r--r--dev-python/python-msrplib/Manifest3
-rw-r--r--dev-python/python-msrplib/metadata.xml15
-rw-r--r--dev-python/python-msrplib/python-msrplib-0.14.1.ebuild49
3 files changed, 67 insertions, 0 deletions
diff --git a/dev-python/python-msrplib/Manifest b/dev-python/python-msrplib/Manifest
new file mode 100644
index 0000000..d159746
--- /dev/null
+++ b/dev-python/python-msrplib/Manifest
@@ -0,0 +1,3 @@
+DIST python-msrplib-0.14.1.tar.gz 32928 RMD160 c9273cd8a6abe5814b2e06e3225cb3691f7372f3 SHA1 6ed54536dc0a19ea0d83b9f5e18e234dcf182501 SHA256 2ed1a392f797912946e6108fa59ec0434c054d0b8061aa7bb627808aeffa8343
+EBUILD python-msrplib-0.14.1.ebuild 944 RMD160 04ea3a97ef74f4ccb847304fa3884cb399a0aed0 SHA1 37704aba59cf58595f30426c2e8dcae3d23cea32 SHA256 cd7833bb860b6d1e7ddcf1dfc6d985deb3aded2639510f1c9cb6b46d1c2f2e74
+MISC metadata.xml 600 RMD160 fbc2290a5c830797ed596137e6578855179603c7 SHA1 0ba99c7e7efff939b5110523297b092cd68e2626 SHA256 7636aedfa767e17140bc717c93ed4a61cdc81713e6b654f338bb10400bf77a0b
diff --git a/dev-python/python-msrplib/metadata.xml b/dev-python/python-msrplib/metadata.xml
new file mode 100644
index 0000000..3bb1c5f
--- /dev/null
+++ b/dev-python/python-msrplib/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+ <maintainer>
+ <email>xarthisius@gentoo.org</email>
+ <name>Kacper Kowalik</name>
+ </maintainer>
+ <longdescription>
+ This package is a collection of modules that are useful when building python
+ applications. Their purpose is to eliminate the need to divert resources
+ into implementing the small tasks that every application needs to do in
+ order to run successfully and focus instead on the application logic itself.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-python/python-msrplib/python-msrplib-0.14.1.ebuild b/dev-python/python-msrplib/python-msrplib-0.14.1.ebuild
new file mode 100644
index 0000000..624d190
--- /dev/null
+++ b/dev-python/python-msrplib/python-msrplib-0.14.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+PYTHON_DEPEND="*:2.5"
+SUPPORT_PYTHON_ABIS="1"
+DISTUTILS_SRC_TEST="nosetests"
+
+inherit distutils
+
+DESCRIPTION="MSRP client library, implements RFC4975 and RFC4976"
+HOMEPAGE="http://www.msrprelay.org/"
+SRC_URI="http://download.ag-projects.com/MSRP/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples"
+
+DEPEND="test? ( ${RDEPEND} )"
+RDEPEND="dev-python/eventlet
+ dev-python/python-application
+ dev-python/python-gnutls
+ dev-python/twisted
+ dev-python/twisted-names
+ net-zope/zope-interface"
+
+src_compile() {
+ distutils_src_compile
+}
+
+src_test() {
+ testing() {
+ PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test/test_basic.py
+ }
+ python_execute_function testing
+}
+
+
+src_install() {
+ distutils_src_install
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples || die
+ fi
+}
+