diff options
author | rene <rene@FreeBSD.org> | 2014-03-08 17:13:01 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2014-03-08 17:13:01 +0800 |
commit | 9bde07dfb61c14a22fe74b3dbcce4bb142b9a59d (patch) | |
tree | eee3a1bfdb9b567b966cc73542d15777a164b824 /audio | |
parent | 6d271a3d189e983d4737f4cd47a7d7e0dc063cf1 (diff) | |
download | freebsd-ports-gnome-9bde07dfb61c14a22fe74b3dbcce4bb142b9a59d.tar.gz freebsd-ports-gnome-9bde07dfb61c14a22fe74b3dbcce4bb142b9a59d.tar.zst freebsd-ports-gnome-9bde07dfb61c14a22fe74b3dbcce4bb142b9a59d.zip |
audio/py-xmms: undeprecate by updating MASTER_SITES and update to 2.0.7
Diffstat (limited to 'audio')
-rw-r--r-- | audio/py-xmms/Makefile | 11 | ||||
-rw-r--r-- | audio/py-xmms/distinfo | 4 | ||||
-rw-r--r-- | audio/py-xmms/files/patch-setup.py | 40 |
3 files changed, 22 insertions, 33 deletions
diff --git a/audio/py-xmms/Makefile b/audio/py-xmms/Makefile index dc16d3721769..ddadf4f7c2a0 100644 --- a/audio/py-xmms/Makefile +++ b/audio/py-xmms/Makefile @@ -2,26 +2,21 @@ # $FreeBSD$ PORTNAME= xmms -PORTVERSION= 2.02 -PORTREVISION= 4 +PORTVERSION= 2.07 CATEGORIES= audio python -MASTER_SITES= http://people.via.ecp.fr/~flo/2002/PyXMMS/dist/ +MASTER_SITES= http://people.via.ecp.fr/~flo/projects/PyXMMS/dist/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pyxmms-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= XMMS Remote Control Library for Python -DEPRECATED= No more public distfiles -EXPIRATION_DATE= 2014-03-07 - BUILD_DEPENDS= ${XMMS_CONFIG}:${PORTSDIR}/multimedia/xmms LIB_DEPENDS= libxmms.so:${PORTSDIR}/multimedia/xmms -USE_PYTHON= 2 +USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_AUTOPLIST= yes -PYDISTUTILS_PKGNAME= pyxmms USE_BZIP2= yes USE_GNOME= glib12 XMMS_CONFIG?= ${LOCALBASE}/bin/xmms-config diff --git a/audio/py-xmms/distinfo b/audio/py-xmms/distinfo index d5c4f52709fd..7c191fb1242b 100644 --- a/audio/py-xmms/distinfo +++ b/audio/py-xmms/distinfo @@ -1,2 +1,2 @@ -SHA256 (pyxmms-2.02.tar.bz2) = 192ea2bfaf0992ffcd3421be81328f2400bf21550a456a51faca92cdebc39245 -SIZE (pyxmms-2.02.tar.bz2) = 38487 +SHA256 (pyxmms-2.07.tar.bz2) = 098f3c91e0548747f8243ca7db6a6232250370d6acaf97ff18954b0ae6d741b7 +SIZE (pyxmms-2.07.tar.bz2) = 53627 diff --git a/audio/py-xmms/files/patch-setup.py b/audio/py-xmms/files/patch-setup.py index 21eca83fc6b3..bf17de4f813a 100644 --- a/audio/py-xmms/files/patch-setup.py +++ b/audio/py-xmms/files/patch-setup.py @@ -1,25 +1,23 @@ ---- setup.py.orig Wed Nov 19 19:52:54 2003 -+++ setup.py Wed Dec 17 10:24:39 2003 -@@ -20,7 +20,7 @@ - # Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, - # MA 02111-1307, USA. +--- setup.py.orig 2007-02-07 14:04:48.000000000 +0100 ++++ setup.py 2014-03-08 10:02:22.000000000 +0100 +@@ -19,13 +19,13 @@ + # Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + # Boston, MA 02110-1301 USA. -import os, string, sys, distutils.dist +import os, string, sys, distutils.dist, re from distutils.core import setup, Extension - # Note: -@@ -32,7 +32,8 @@ - PACKAGE = "pyxmms" - VERSION = "2.02" + VERSION = "2.07" -GLIB_CONFIG = "glib-config" +- +GLIB_CONFIG = os.environ['GLIB_CONFIG'] +XMMS_CONFIG = os.environ['XMMS_CONFIG'] - def get_glib_config(): -@@ -70,13 +71,16 @@ + """Get the compilation and link parameters for glib.""" +@@ -62,19 +62,22 @@ def setup_args(): """Craft appropriate arguments for distutils.setup.""" (glib_include_dirs, glib_compile_args, glib_link_args) = get_glib_config() @@ -35,18 +33,14 @@ extra_compile_args=glib_compile_args, - libraries=["xmms"], + libraries=["xmms"], library_dirs=XMMSLIBDIR, + extra_link_args=glib_link_args), + Extension("xmms._xmmsconfig", + ["src/_xmmsconfigmodule.c"], +- include_dirs=glib_include_dirs, ++ include_dirs=glib_include_dirs+XMMSINCDIR, + extra_compile_args=glib_compile_args, +- libraries=["xmms"], ++ libraries=["xmms"], library_dirs=XMMSLIBDIR, extra_link_args=glib_link_args)] - if sys.hexversion < 0x02020000: -@@ -92,9 +96,9 @@ - # This module requires Python >= 2.2 - ext_modules.append(Extension("xmms._xmmsconfig", - ["src/_xmmsconfigmodule.c"], -- include_dirs=glib_include_dirs, -+ include_dirs=glib_include_dirs+XMMSINCDIR, - extra_compile_args=glib_compile_args, -- libraries=["xmms"], -+ libraries=["xmms"], library_dirs=XMMSLIBDIR, - extra_link_args=glib_link_args)) - # Trove classifiers picked up from the list at |