mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
audio/py-xmms: undeprecate by updating MASTER_SITES and update to 2.0.7
This commit is contained in:
parent
939cefd72d
commit
72fbb3dae4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=347461
@ -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
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
@ -34,19 +32,15 @@
|
||||
+ 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),
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user