summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-10-28 00:53:15 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-10-28 00:53:15 +0000
commit5d9881c5d5b32f7b1c823bfa68b7a3563cf9ad69 (patch)
tree569d4de92a8c25c2e946ba785e04eefed1c78c6b /dev-python/py-freebsd
parentAdd version dependencies of autotools. Thanks to Patrick Lauer in bug #153083. (diff)
downloadgentoo-2-5d9881c5d5b32f7b1c823bfa68b7a3563cf9ad69.tar.gz
gentoo-2-5d9881c5d5b32f7b1c823bfa68b7a3563cf9ad69.tar.bz2
gentoo-2-5d9881c5d5b32f7b1c823bfa68b7a3563cf9ad69.zip
Initial import, py-freebsd is a module that allows accessing FreeBSD specific features like chflags support. Maintenance shared between bsd and python herds.
(Portage version: 2.1.2_pre3-r9)
Diffstat (limited to 'dev-python/py-freebsd')
-rw-r--r--dev-python/py-freebsd/ChangeLog12
-rw-r--r--dev-python/py-freebsd/Manifest16
-rw-r--r--dev-python/py-freebsd/files/digest-py-freebsd-0.9.33
-rw-r--r--dev-python/py-freebsd/metadata.xml6
-rw-r--r--dev-python/py-freebsd/py-freebsd-0.9.3.ebuild30
5 files changed, 67 insertions, 0 deletions
diff --git a/dev-python/py-freebsd/ChangeLog b/dev-python/py-freebsd/ChangeLog
new file mode 100644
index 000000000000..29c6e8b296d2
--- /dev/null
+++ b/dev-python/py-freebsd/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for dev-python/py-freebsd
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/py-freebsd/ChangeLog,v 1.1 2006/10/28 00:53:14 flameeyes Exp $
+
+*py-freebsd-0.9.3 (28 Oct 2006)
+
+ 28 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> +metadata.xml,
+ +py-freebsd-0.9.3.ebuild:
+ Initial import, py-freebsd is a module that allows accessing FreeBSD
+ specific features like chflags support. Maintenance shared between bsd and
+ python herds.
+
diff --git a/dev-python/py-freebsd/Manifest b/dev-python/py-freebsd/Manifest
new file mode 100644
index 000000000000..2a824399fea0
--- /dev/null
+++ b/dev-python/py-freebsd/Manifest
@@ -0,0 +1,16 @@
+DIST py-freebsd-0.9.3.tar.gz 26995 RMD160 16d891dcc4d1af67c9bd1b92072eddc28f6aa14a SHA1 a8b46a15fc0f530c86ceb9d32e4c38c5784af777 SHA256 4792a5f9d124bd7634890dceeccd9995149176d4d36e17e882eadd4d23b46f92
+EBUILD py-freebsd-0.9.3.ebuild 827 RMD160 642e77132232e775ef49acf8b893dba6dd51496d SHA1 6f860ad85c1a6afce976645eefcf8d230fe7b812 SHA256 71a653de59752a79b1802a9f7d7e0e044aa036f967a3478e6edfadbf9ca075c7
+MD5 e7349a1ce87d599970a95d2a4e70f098 py-freebsd-0.9.3.ebuild 827
+RMD160 642e77132232e775ef49acf8b893dba6dd51496d py-freebsd-0.9.3.ebuild 827
+SHA256 71a653de59752a79b1802a9f7d7e0e044aa036f967a3478e6edfadbf9ca075c7 py-freebsd-0.9.3.ebuild 827
+MISC ChangeLog 416 RMD160 87323bffe894bc9341add027e1c12e24d532c4ac SHA1 510a24cfa3b730d8fc9cbdd5cc8b16eae442605c SHA256 9850cc0d332db9b8cf826c3da300225e3c38f53afc8f28fa946f76fc056426d0
+MD5 e9a013b6e22d4c4442c1703248d3eb2c ChangeLog 416
+RMD160 87323bffe894bc9341add027e1c12e24d532c4ac ChangeLog 416
+SHA256 9850cc0d332db9b8cf826c3da300225e3c38f53afc8f28fa946f76fc056426d0 ChangeLog 416
+MISC metadata.xml 176 RMD160 f70cb6f594542f1bbce030c5c44b8de48dd4392a SHA1 c5a4dcb6c566ea6fdb13828d63376a82563853bb SHA256 17e1b3544b5836d88f6ed59f62fefa3b1e80fc05c81b07df31b5e607a05719b6
+MD5 ee637f26093a4c46f7c273e1a3875a11 metadata.xml 176
+RMD160 f70cb6f594542f1bbce030c5c44b8de48dd4392a metadata.xml 176
+SHA256 17e1b3544b5836d88f6ed59f62fefa3b1e80fc05c81b07df31b5e607a05719b6 metadata.xml 176
+MD5 63b1fae599daf7bc1f9d516dd8ef0473 files/digest-py-freebsd-0.9.3 247
+RMD160 f9608b2f5eb930cecffe5ec3c527dc4676847e87 files/digest-py-freebsd-0.9.3 247
+SHA256 3b4d180be5eb069413e956e42e40eee6476f264d82221cd73b85ea5aa711bc0d files/digest-py-freebsd-0.9.3 247
diff --git a/dev-python/py-freebsd/files/digest-py-freebsd-0.9.3 b/dev-python/py-freebsd/files/digest-py-freebsd-0.9.3
new file mode 100644
index 000000000000..8e44fc4af139
--- /dev/null
+++ b/dev-python/py-freebsd/files/digest-py-freebsd-0.9.3
@@ -0,0 +1,3 @@
+MD5 ff538b3a7664e50988ce786622f93492 py-freebsd-0.9.3.tar.gz 26995
+RMD160 16d891dcc4d1af67c9bd1b92072eddc28f6aa14a py-freebsd-0.9.3.tar.gz 26995
+SHA256 4792a5f9d124bd7634890dceeccd9995149176d4d36e17e882eadd4d23b46f92 py-freebsd-0.9.3.tar.gz 26995
diff --git a/dev-python/py-freebsd/metadata.xml b/dev-python/py-freebsd/metadata.xml
new file mode 100644
index 000000000000..0e30e2027eaa
--- /dev/null
+++ b/dev-python/py-freebsd/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>bsd</herd>
+<herd>python</herd>
+</pkgmetadata>
diff --git a/dev-python/py-freebsd/py-freebsd-0.9.3.ebuild b/dev-python/py-freebsd/py-freebsd-0.9.3.ebuild
new file mode 100644
index 000000000000..e540dbc75d2f
--- /dev/null
+++ b/dev-python/py-freebsd/py-freebsd-0.9.3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/py-freebsd/py-freebsd-0.9.3.ebuild,v 1.1 2006/10/28 00:53:14 flameeyes Exp $
+
+inherit distutils
+
+DESCRIPTION="Python interface to FreeBSD-specific system libraries"
+HOMEPAGE="http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/py-freebsd/"
+SRC_URI="mirror://freebsd/ports/local-distfiles/perky/${P}.tar.gz
+ http://people.freebsd.org/~perky/distfiles/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86-fbsd"
+IUSE=""
+
+RDEPEND="sys-freebsd/freebsd-lib
+ dev-lang/python"
+DEPEND="${RDEPEND}"
+
+src_test() {
+ mkdir "${T}/tests"
+ "${python}" setup.py install --home="${T}/tests"
+
+ export PYTHONPATH="${T}/tests/$(get_libdir)/python"
+ "${python}" "${S}/tests/test_kqueue.py" || die "test_kqueue failed"
+ "${python}" "${S}/tests/test_sysctl.py" || die "test_sysctl failed"
+
+ rm -rf "${T}/tests"
+}