summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2015-03-24 01:24:48 +0000
committerIan Delaney <idella4@gentoo.org>2015-03-24 01:24:48 +0000
commit89a4e1ca87766210042aa1c5e60dce5effb922a6 (patch)
treee02fb7a9b4fd0e31e36222c0c2c0f8ac02600012 /dev-python
parentStable on amd64, arm, ppc and x86. (diff)
downloadgentoo-2-89a4e1ca87766210042aa1c5e60dce5effb922a6.tar.gz
gentoo-2-89a4e1ca87766210042aa1c5e60dce5effb922a6.tar.bz2
gentoo-2-89a4e1ca87766210042aa1c5e60dce5effb922a6.zip
remove defunct package dev-python/py-freebsd
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/py-freebsd/ChangeLog37
-rw-r--r--dev-python/py-freebsd/Manifest7
-rw-r--r--dev-python/py-freebsd/files/fbsd7-netstat.patch10
-rw-r--r--dev-python/py-freebsd/files/freebsd8_patch-src-jail.c49
-rw-r--r--dev-python/py-freebsd/files/process-fix.patch52
-rw-r--r--dev-python/py-freebsd/metadata.xml6
-rw-r--r--dev-python/py-freebsd/py-freebsd-0.9.3-r1.ebuild47
7 files changed, 0 insertions, 208 deletions
diff --git a/dev-python/py-freebsd/ChangeLog b/dev-python/py-freebsd/ChangeLog
deleted file mode 100644
index c83d2d76ef76..000000000000
--- a/dev-python/py-freebsd/ChangeLog
+++ /dev/null
@@ -1,37 +0,0 @@
-# ChangeLog for dev-python/py-freebsd
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/py-freebsd/ChangeLog,v 1.7 2011/07/08 00:03:28 aballier Exp $
-
- 08 Jul 2011; Alexis Ballier <aballier@gentoo.org>
- +files/freebsd8_patch-src-jail.c, py-freebsd-0.9.3-r1.ebuild:
- fix build on FreeBSD 8, by Dmitri Bogomolov, bug #364605
-
- 30 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
- py-freebsd-0.9.3-r1.ebuild:
- Fix dependencies. Set SUPPORT_PYTHON_ABIS.
-
- 30 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
- -py-freebsd-0.9.3.ebuild:
- Delete.
-
- 08 Feb 2010; Peter Volkov <pva@gentoo.org> py-freebsd-0.9.3-r1.ebuild:
- Add inherit eutils for epatch.
-
-*py-freebsd-0.9.3-r1 (08 Jun 2008)
-
- 08 Jun 2008; Javier Villavicencio <the_paya@gentoo.org>
- +files/fbsd7-netstat.patch, +files/process-fix.patch,
- +py-freebsd-0.9.3-r1.ebuild:
- Updated ebuild with FreeBSD-7.0 support
-
- 28 Oct 2006; Roy Marples <uberlord@gentoo.org> py-freebsd-0.9.3.ebuild:
- Added ~sparc-fbsd keyword.
-
-*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
deleted file mode 100644
index 9296d874c246..000000000000
--- a/dev-python/py-freebsd/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-AUX fbsd7-netstat.patch 390 SHA256 acfede837e7cacb16ee17c550ec6bdc9cfd907e3727468f2227d90061d6fdd14 SHA512 02a26c7d940ace64e52cfe301f95b128c976072a6114e1dfeeef5f417f77caaf0bed007076b807c14d1b2528b5e7386d02775d5a7582e84f7548374ca43ca573 WHIRLPOOL 9ba29a9a98c0a3714991c8c0c6c86359290f7eb73886e9cb195f30ddb85f12915683cb0c2d38f28d0c359e2ff8711d53e400971f4a24c096900c2f268b1e9007
-AUX freebsd8_patch-src-jail.c 1208 SHA256 c57a5210e6efe1711780d546a2c54bf67ff298b1cc3e282508e0e434de9a7d63 SHA512 570665d04c731bafd7c93784dcec1eff91ed5f068f6d47ffca0ef43422919aeab46b0c911d6520bddc6a6bee50454272517668378b8ad9a3361251b25547f2be WHIRLPOOL 8d31a2394757c15e4eff0d4c3c5b863c99766696584a06ad1b85cd38c0c9d9d80e72eb81cec5ad784d6afa9f44f7175a625e3feeab62a7ed32ce16d01d5dc486
-AUX process-fix.patch 1608 SHA256 5a3bdc5f54d73eead3bbf59515b3ae5f363e42f695a03accf5bd88ff17bb85f8 SHA512 1070a3d9b177eabdc805936e4467848c945205476530cab3956b3504162b9c4fd3e18620b28c31f58b737ce7cc9058758e3737f60f4142d070b6e5f0290f1d96 WHIRLPOOL 6fc91b0e615d2cf1cae906562c2e99d9021c2ffaa93124f0609cadead4dd7cf7d75644ca30d8ee6d5f2004620b619059df73b3b9ba30d8f380b42908f38d0da7
-DIST py-freebsd-0.9.3.tar.gz 26995 SHA256 4792a5f9d124bd7634890dceeccd9995149176d4d36e17e882eadd4d23b46f92 SHA512 bd855adbcf0f4f2762052908da3fb7517c754770b8ddec7db881c65e3c87e64cda68fc3615720df379b649f66b3e2f06865a6beb05d55c62284214c7f665adc5 WHIRLPOOL c6c3d2a0910665754e783915ba840160ca4388e31f8826adf6f6b5fb1dbba962363b1dda2cb46ec26866ec232c0d5abf87a3c82dd65fcd1b9880740128d2512d
-EBUILD py-freebsd-0.9.3-r1.ebuild 1314 SHA256 ab6b0d8d4e4ba0ee070839c92d8ab13c488527a7c2e73e9a34df1ead91efcef8 SHA512 e59e8cfcdda2ec5c9ad1220984b8b8cb0784d6b15fbbce7a426a1edcbdcf442c70dcb400fed628aec156e1ab205d9e92b5591352d4bd2a18df324ab6b33a4855 WHIRLPOOL ad17a1f8b6ebd054cc6cf4840ca5e2f538760c46b092a6ae1a317d8806fc08264ac986bd16146819fce831ff24abf65a9c04a004c68d31c0ad9ddb22337d9246
-MISC ChangeLog 1383 SHA256 2e9cfcbb04f51f227f0453f7e3e719cc13a514f81b6dba30137c529673f1ed94 SHA512 a1635afc2df7527c29d5805e66750f914298d194610693736db4fe436182911589e2e5b88c266c5be65196430b31125dc0ac638a111e51749fd6bb42465f080a WHIRLPOOL 4deb46348b8e8633a871c7685d8bbc2430770ac1f6b5289aa07d24ec061c65c9f87489777dbea2432ee1b0ca2b6e5a1dacfb33b73796ee2dc1dd1a54d89e8d9c
-MISC metadata.xml 176 SHA256 17e1b3544b5836d88f6ed59f62fefa3b1e80fc05c81b07df31b5e607a05719b6 SHA512 5d999265e5fd57172af0572fcabcaf746944c7b4a2254f616a52b485927ef19069928f1baed5e4ad793e1988c7df9362248b29e05cfb4462c70d935402823b59 WHIRLPOOL 9a3db81a111d25c6c7b4b4a31f8237eb74ef63dfc34f8f6dde8c0a7ed9ab96e6d83fe1b9d4ba70d766d50559a5136dd9e2bbbb0d0a493c90e319f11a8578caf5
diff --git a/dev-python/py-freebsd/files/fbsd7-netstat.patch b/dev-python/py-freebsd/files/fbsd7-netstat.patch
deleted file mode 100644
index 11ae01cc4d6c..000000000000
--- a/dev-python/py-freebsd/files/fbsd7-netstat.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/netstat.c.orig 2007-08-17 13:07:10.654911645 -0500
-+++ src/netstat.c 2007-08-17 13:07:19.496912514 -0500
-@@ -243,7 +243,6 @@
- Py_DECREF(t);
- p_int(type); p_int(physical);
- p_int(addrlen); p_int(hdrlen);
-- p_int(recvquota); p_int(xmitquota);
- p_long(mtu); p_long(metric);
- p_long(baudrate); p_long(ipackets);
- p_long(ierrors); p_long(opackets);
diff --git a/dev-python/py-freebsd/files/freebsd8_patch-src-jail.c b/dev-python/py-freebsd/files/freebsd8_patch-src-jail.c
deleted file mode 100644
index 685af1201f08..000000000000
--- a/dev-python/py-freebsd/files/freebsd8_patch-src-jail.c
+++ /dev/null
@@ -1,49 +0,0 @@
-Fix build on FreeBSD 8
-http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/py-freebsd/files/freebsd8_patch-src-jail.c
-https://bugs.gentoo.org/show_bug.cgi?id=364605
-
---- src/jail.c.orig 2005-05-08 06:55:00.000000000 +0000
-+++ src/jail.c 2008-12-23 13:54:31.000000000 +0000
-@@ -40,21 +40,37 @@ static PyObject *
- PyFB_jail(PyObject *self, PyObject *args)
- {
- struct jail jp;
-+ struct in_addr ia;
- char *ipaddr;
-+ int error;
-
- if (!PyArg_ParseTuple(args, "sss:jail", &(jp.path),
- &(jp.hostname), &ipaddr))
- return NULL;
-
-- jp.version = 0;
-- jp.ip_number = inet_addr(ipaddr);
--
-- if (jp.ip_number == INADDR_NONE) {
-+ ia.s_addr = inet_addr(ipaddr);
-+ if (ia.s_addr == INADDR_NONE) {
- PyErr_SetString(PyExc_ValueError, "malformed internet address");
- return NULL;
- }
-
-- if (jail(&jp) == -1)
-+ jp.version = JAIL_API_VERSION;
-+ jp.jailname = NULL;
-+ jp.ip4s = 1;
-+ jp.ip4 = malloc(jp.ip4s * sizeof(struct in_addr));
-+ if (jp.ip4 == NULL) {
-+ PyErr_SetString(PyExc_ValueError, "Cannot allocate memory");
-+ return NULL;
-+ }
-+ jp.ip4->s_addr = ia.s_addr;
-+ jp.ip6s = 0;
-+ jp.ip6 = NULL;
-+
-+ error = jail(&jp);
-+
-+ free(jp.ip4);
-+
-+ if (error == -1)
- return OSERROR();
-
- Py_RETURN_NONE;
diff --git a/dev-python/py-freebsd/files/process-fix.patch b/dev-python/py-freebsd/files/process-fix.patch
deleted file mode 100644
index 910492080eb0..000000000000
--- a/dev-python/py-freebsd/files/process-fix.patch
+++ /dev/null
@@ -1,52 +0,0 @@
---- src/process.c.orig Sun May 8 08:55:00 2005
-+++ src/process.c Sat Nov 25 18:12:52 2006
-@@ -51,10 +51,19 @@
- static PyObject *
- PyFB_setprogname(PyObject *self, PyObject *args)
- {
-- char *progname;
-+ const char *progname;
-+ static PyObject *namestr = NULL;
-
- if (!PyArg_ParseTuple(args, "s:setprogname", &progname))
- return NULL;
-+ /*
-+ * Setprogname(3) does not copy the string, it only stores the
-+ * string pointer. Make sure that the string object does not
-+ * get garbage collected and its memory reused!
-+ */
-+ Py_XDECREF(namestr); /* maybe free old progname */
-+ PyArg_ParseTuple(args, "O", &namestr);
-+ Py_INCREF(namestr); /* keep new progname object */
-
- setprogname(progname);
- Py_RETURN_NONE;
-@@ -64,16 +73,24 @@
- static char PyFB_setproctitle__doc__[] =
- "setproctitle(title):\n"
- "The setproctitle() library routine sets the process title that\n"
--"appears on the ps(1) command.";
-+"appears on the ps(1) command. The progname and a colon are\n"
-+"prepended automatically. This behaviour is suppressed when the\n"
-+"title starts with a dash (-) character. Calling with a None\n"
-+"argument restores a default process title.";
-
- static PyObject *
- PyFB_setproctitle(PyObject *self, PyObject *args)
- {
-- char *newtitle;
-+ const char *newtitle;
-
-- if (!PyArg_ParseTuple(args, "s:setproctitle", &newtitle))
-+ if (!PyArg_ParseTuple(args, "z:setproctitle", &newtitle))
- return NULL;
-
-- setproctitle(newtitle);
-+ if (newtitle == NULL)
-+ setproctitle(NULL);
-+ else if (*newtitle == '-')
-+ setproctitle("-%s", newtitle+1);
-+ else
-+ setproctitle("%s", newtitle);
- Py_RETURN_NONE;
- }
diff --git a/dev-python/py-freebsd/metadata.xml b/dev-python/py-freebsd/metadata.xml
deleted file mode 100644
index 0e30e2027eaa..000000000000
--- a/dev-python/py-freebsd/metadata.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?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-r1.ebuild b/dev-python/py-freebsd/py-freebsd-0.9.3-r1.ebuild
deleted file mode 100644
index 519071b21890..000000000000
--- a/dev-python/py-freebsd/py-freebsd-0.9.3-r1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2011 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-r1.ebuild,v 1.4 2011/07/08 00:03:28 aballier Exp $
-
-EAPI="3"
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* *-jython"
-
-inherit distutils eutils
-
-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="~sparc-fbsd ~x86-fbsd"
-IUSE=""
-
-DEPEND="sys-freebsd/freebsd-lib"
-RDEPEND="${DEPEND}"
-
-PYTHON_MODNAME="freebsd_compat02.py"
-
-src_prepare() {
- distutils_src_prepare
- epatch "${FILESDIR}/fbsd7-netstat.patch"
- epatch "${FILESDIR}/process-fix.patch"
- epatch "${FILESDIR}/freebsd8_patch-src-jail.c"
-}
-
-src_test() {
- testing() {
- local exit_status="0" test
- for test in test_kqueue.py test_sysctl.py; do
- if ! PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" tests/${test}; then
- eerror "${test} failed with $(python_get_implementation) $(python_get_version)"
- exit_status="1"
- fi
- done
-
- return "${exit_status}"
- }
- python_execute_function testing
-}