Date: Sun, 28 May 2017 23:16:25 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r441945 - in head/devel/py-freebsd: . files Message-ID: <201705282316.v4SNGPbM052949@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun May 28 23:16:25 2017 New Revision: 441945 URL: https://svnweb.freebsd.org/changeset/ports/441945 Log: Pet portlint - Move LICENSE downward - Sort USE_PYTHON - Strip shared library - Regenerate patch files with makepatch: - Bump PORTREVISION for package change Modified: head/devel/py-freebsd/Makefile head/devel/py-freebsd/files/freebsd11_patch-src__.const.def head/devel/py-freebsd/files/freebsd11_patch-src__netstat.c head/devel/py-freebsd/files/patch-setup.py head/devel/py-freebsd/files/patch-src-jail.c head/devel/py-freebsd/files/patch-src-netstat.c head/devel/py-freebsd/files/patch-src-process.c head/devel/py-freebsd/files/patch-src-sysctl.c Modified: head/devel/py-freebsd/Makefile ============================================================================== --- head/devel/py-freebsd/Makefile Sun May 28 23:16:19 2017 (r441944) +++ head/devel/py-freebsd/Makefile Sun May 28 23:16:25 2017 (r441945) @@ -3,21 +3,21 @@ PORTNAME= freebsd PORTVERSION= 0.9.3 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= devel python MASTER_SITES= LOCAL/perky \ http://people.freebsd.org/~perky/distfiles/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= py-freebsd-${PORTVERSION} -LICENSE= BSD2CLAUSE -LICENSE_FILE= ${WRKSRC}/COPYRIGHT - MAINTAINER= python@FreeBSD.org COMMENT= Python interface to FreeBSD-specific system libraries +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYRIGHT + USES= python:2 -USE_PYTHON= distutils autoplist +USE_PYTHON= autoplist distutils .include <bsd.port.pre.mk> @@ -26,4 +26,7 @@ EXTRA_PATCHES+= ${FILESDIR}/freebsd11_pa ${FILESDIR}/freebsd11_patch-src__netstat.c .endif +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/freebsd.so + .include <bsd.port.post.mk> Modified: head/devel/py-freebsd/files/freebsd11_patch-src__.const.def ============================================================================== --- head/devel/py-freebsd/files/freebsd11_patch-src__.const.def Sun May 28 23:16:19 2017 (r441944) +++ head/devel/py-freebsd/files/freebsd11_patch-src__.const.def Sun May 28 23:16:25 2017 (r441945) @@ -1,6 +1,6 @@ ---- src/.const.def.orig 2005-12-09 06:40:56.000000000 +0300 -+++ src/.const.def 2014-10-18 00:25:38.000000000 +0400 -@@ -69,7 +69,6 @@ +--- src/.const.def.orig 2005-12-09 03:40:56 UTC ++++ src/.const.def +@@ -69,7 +69,6 @@ SETDICT_INT(d, "IFF_BROADCAST", IFF_BROA SETDICT_INT(d, "IFF_DEBUG", IFF_DEBUG); SETDICT_INT(d, "IFF_LOOPBACK", IFF_LOOPBACK); SETDICT_INT(d, "IFF_POINTOPOINT", IFF_POINTOPOINT); Modified: head/devel/py-freebsd/files/freebsd11_patch-src__netstat.c ============================================================================== --- head/devel/py-freebsd/files/freebsd11_patch-src__netstat.c Sun May 28 23:16:19 2017 (r441944) +++ head/devel/py-freebsd/files/freebsd11_patch-src__netstat.c Sun May 28 23:16:25 2017 (r441945) @@ -1,6 +1,6 @@ ---- src/netstat.c.orig 2005-05-08 10:55:00.000000000 +0400 -+++ src/netstat.c 2014-10-18 00:25:23.000000000 +0400 -@@ -40,7 +40,6 @@ +--- src/netstat.c.orig 2005-05-08 06:55:00 UTC ++++ src/netstat.c +@@ -40,7 +40,6 @@ EXPCONST(int IFF_BROADCAST) EXPCONST(int IFF_DEBUG) EXPCONST(int IFF_LOOPBACK) EXPCONST(int IFF_POINTOPOINT) Modified: head/devel/py-freebsd/files/patch-setup.py ============================================================================== --- head/devel/py-freebsd/files/patch-setup.py Sun May 28 23:16:19 2017 (r441944) +++ head/devel/py-freebsd/files/patch-setup.py Sun May 28 23:16:25 2017 (r441945) @@ -1,6 +1,6 @@ ---- setup.py.orig Mon Apr 11 23:31:45 2005 -+++ setup.py Mon Apr 11 23:32:09 2005 -@@ -52,6 +52,7 @@ +--- setup.py.orig 2005-12-09 03:39:16 UTC ++++ setup.py +@@ -52,6 +52,7 @@ setup(name = "py-freebsd", "freebsd", ["src/freebsdmodule.c"], libraries=libs, Modified: head/devel/py-freebsd/files/patch-src-jail.c ============================================================================== --- head/devel/py-freebsd/files/patch-src-jail.c Sun May 28 23:16:19 2017 (r441944) +++ head/devel/py-freebsd/files/patch-src-jail.c Sun May 28 23:16:25 2017 (r441945) @@ -1,5 +1,5 @@ ---- src/jail.c.orig 2005-05-08 06:55:00.000000000 +0000 -+++ src/jail.c 2008-12-23 13:54:31.000000000 +0000 +--- src/jail.c.orig 2005-05-08 06:55:00 UTC ++++ src/jail.c @@ -40,21 +40,37 @@ static PyObject * PyFB_jail(PyObject *self, PyObject *args) { Modified: head/devel/py-freebsd/files/patch-src-netstat.c ============================================================================== --- head/devel/py-freebsd/files/patch-src-netstat.c Sun May 28 23:16:19 2017 (r441944) +++ head/devel/py-freebsd/files/patch-src-netstat.c Sun May 28 23:16:25 2017 (r441945) @@ -1,6 +1,6 @@ ---- 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 @@ +--- src/netstat.c.orig 2005-05-08 06:55:00 UTC ++++ src/netstat.c +@@ -243,7 +243,6 @@ PyFB_ifstats(PyObject *self) Py_DECREF(t); p_int(type); p_int(physical); p_int(addrlen); p_int(hdrlen); Modified: head/devel/py-freebsd/files/patch-src-process.c ============================================================================== --- head/devel/py-freebsd/files/patch-src-process.c Sun May 28 23:16:19 2017 (r441944) +++ head/devel/py-freebsd/files/patch-src-process.c Sun May 28 23:16:25 2017 (r441945) @@ -1,6 +1,6 @@ ---- 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 @@ +--- src/process.c.orig 2005-05-08 06:55:00 UTC ++++ src/process.c +@@ -51,10 +51,19 @@ static char PyFB_setprogname__doc__[] = static PyObject * PyFB_setprogname(PyObject *self, PyObject *args) { @@ -21,7 +21,7 @@ setprogname(progname); Py_RETURN_NONE; -@@ -64,16 +73,24 @@ +@@ -64,16 +73,24 @@ PyFB_setprogname(PyObject *self, PyObjec static char PyFB_setproctitle__doc__[] = "setproctitle(title):\n" "The setproctitle() library routine sets the process title that\n" Modified: head/devel/py-freebsd/files/patch-src-sysctl.c ============================================================================== --- head/devel/py-freebsd/files/patch-src-sysctl.c Sun May 28 23:16:19 2017 (r441944) +++ head/devel/py-freebsd/files/patch-src-sysctl.c Sun May 28 23:16:25 2017 (r441945) @@ -1,5 +1,5 @@ ---- src/sysctl.c.orig 2011-04-12 12:30:50.000000000 +0400 -+++ src/sysctl.c 2011-04-12 12:37:45.000000000 +0400 +--- src/sysctl.c.orig 2005-05-08 06:55:00 UTC ++++ src/sysctl.c @@ -121,7 +121,7 @@ const size_t sysctl_type_sizes[CTLTYPE] 0, /* CTLTYPE_NODE */ sizeof(int), /* CTLTYPE_INT */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705282316.v4SNGPbM052949>