Initial import, py-freebsd is a module that allows accessing FreeBSD specific feature...
authorDiego Elio Pettenò <flameeyes@gentoo.org>
Sat, 28 Oct 2006 00:53:15 +0000 (00:53 +0000)
committerDiego Elio Pettenò <flameeyes@gentoo.org>
Sat, 28 Oct 2006 00:53:15 +0000 (00:53 +0000)
Package-Manager: portage-2.1.2_pre3-r9

dev-python/py-freebsd/ChangeLog [new file with mode: 0644]
dev-python/py-freebsd/Manifest [new file with mode: 0644]
dev-python/py-freebsd/files/digest-py-freebsd-0.9.3 [new file with mode: 0644]
dev-python/py-freebsd/metadata.xml [new file with mode: 0644]
dev-python/py-freebsd/py-freebsd-0.9.3.ebuild [new file with mode: 0644]

diff --git a/dev-python/py-freebsd/ChangeLog b/dev-python/py-freebsd/ChangeLog
new file mode 100644 (file)
index 0000000..29c6e8b
--- /dev/null
@@ -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 (file)
index 0000000..491b459
--- /dev/null
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST py-freebsd-0.9.3.tar.gz 26995 RMD160 16d891dcc4d1af67c9bd1b92072eddc28f6aa14a SHA1 a8b46a15fc0f530c86ceb9d32e4c38c5784af777 SHA256 4792a5f9d124bd7634890dceeccd9995149176d4d36e17e882eadd4d23b46f92
+EBUILD py-freebsd-0.9.3.ebuild 939 RMD160 f50ddcf3dbd6d436f68824b8838a994826139389 SHA1 4247fcaefb1468a0d2a8dc3617260a69cf97c4a1 SHA256 b6b04fe2d012d71a6a4fd2566bda23dcba206672829e29a2836811db923e0d85
+MD5 61eb7f9d330025127a8eebe12a80a5f4 py-freebsd-0.9.3.ebuild 939
+RMD160 f50ddcf3dbd6d436f68824b8838a994826139389 py-freebsd-0.9.3.ebuild 939
+SHA256 b6b04fe2d012d71a6a4fd2566bda23dcba206672829e29a2836811db923e0d85 py-freebsd-0.9.3.ebuild 939
+MISC ChangeLog 512 RMD160 979bbb19234e9dc723ec08d6c166bed69ec29604 SHA1 c4366af2d641d2f0e71977208606ebe6e0cde427 SHA256 6f3c0a06923a0dea222bf5aea151236beab92cb08de8ee90049b1cc047ba2720
+MD5 b10649ff91c78d9f75fe5388cc16d5fc ChangeLog 512
+RMD160 979bbb19234e9dc723ec08d6c166bed69ec29604 ChangeLog 512
+SHA256 6f3c0a06923a0dea222bf5aea151236beab92cb08de8ee90049b1cc047ba2720 ChangeLog 512
+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
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFQqoBAiZjviIA2XgRAqjRAJ9iEW7kKrklVxEo4P/DETMnWbFvXACfYVtX
+uq2lOxkWN61e3djpy5DTyxM=
+=yJSP
+-----END PGP SIGNATURE-----
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 (file)
index 0000000..8e44fc4
--- /dev/null
@@ -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 (file)
index 0000000..0e30e20
--- /dev/null
@@ -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 (file)
index 0000000..e540dbc
--- /dev/null
@@ -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"
+}