- Update to 2013.1 (and unbreak)

- Add LICENSE (MIT)
- Remove dead download site from MASTER_SITES
- Remove ABI version in LIB_DEPENDS
- Remove pkg-plist in favor of PLIST_FILES
- Update WWW url in pkg-descr
- Add files/patch-src__wrapper__common.hpp

BuildLog:	http://goo.gl/DHIh9
This commit is contained in:
Nicola Vitale 2013-03-23 22:10:54 +00:00
parent 145eab8d13
commit abc0ef023c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315083
6 changed files with 28 additions and 21 deletions

View file

@ -2,20 +2,19 @@
# $FreeBSD$
PORTNAME= tagpy
PORTVERSION= 0.94.8
PORTREVISION= 1
PORTVERSION= 2013.1
PORTREVISION= 0
CATEGORIES= audio python
MASTER_SITES= CHEESESHOP \
http://nivi.interfree.it/distfiles/${PORTNAME}/
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Python bindings for Scott Wheeler's TagLib
LIB_DEPENDS= boost_python:${PORTSDIR}/devel/boost-python-libs \
tag.1:${PORTSDIR}/audio/taglib
LICENSE= MIT
BROKEN= does not build
LIB_DEPENDS= boost_python:${PORTSDIR}/devel/boost-python-libs \
tag:${PORTSDIR}/audio/taglib
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configure.py
@ -25,6 +24,8 @@ CONFIGURE_ARGS= --taglib-inc-dir="${LOCALBASE}/include/taglib" \
--boost-lib-dir="${PYTHON_LIBDIR},${LOCALBASE}/lib" \
--boost-python-libname="boost_python"
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
USE_GCC= 4.4+
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install

View file

@ -1,2 +1,2 @@
SHA256 (tagpy-0.94.8.tar.gz) = 56eab8dd81510f8af18e19375a0ffd5cd25c8e555104be46a92c3dc08634a0dc
SIZE (tagpy-0.94.8.tar.gz) = 151986
SHA256 (tagpy-2013.1.tar.gz) = 80481c78ce34878e7a1f3231acd781a3bf1b0b569c70ce0e8d63af58061152f4
SIZE (tagpy-2013.1.tar.gz) = 151463

View file

@ -1,6 +1,6 @@
--- ./aksetup_helper.py.orig 2010-12-17 17:12:20.000000000 +0100
+++ ./aksetup_helper.py 2010-12-17 17:12:30.000000000 +0100
@@ -1,11 +1,11 @@
--- ./aksetup_helper.py.orig 2013-03-21 22:56:24.000000000 +0100
+++ ./aksetup_helper.py 2013-03-21 22:56:29.000000000 +0100
@@ -1,6 +1,6 @@
# dealings with ez_setup ------------------------------------------------------
-import distribute_setup
-distribute_setup.use_setuptools()
@ -9,9 +9,3 @@
import setuptools
from setuptools import Extension
-if 'distribute' not in setuptools.__file__:
+if False and 'distribute' not in setuptools.__file__:
print "-------------------------------------------------------------------------"
print "Setuptools conflict detected."
print "-------------------------------------------------------------------------"

View file

@ -0,0 +1,14 @@
--- ./src/wrapper/common.hpp.orig 2013-03-22 10:46:55.000000000 +0100
+++ ./src/wrapper/common.hpp 2013-03-22 10:47:04.000000000 +0100
@@ -50,10 +50,7 @@
-#define TAGPY_TAGLIB_HEX_VERSION \
- (TAGLIB_MAJOR_VERSION << 16) + \
- (TAGLIB_MINOR_VERSION << 8) + \
- (TAGLIB_PATCH_VERSION << 0)
+#define TAGPY_TAGLIB_HEX_VERSION 0x10800
#if (TAGPY_TAGLIB_HEX_VERSION < 0x10400)
#warning !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

View file

@ -9,4 +9,4 @@ TagPy can:
* access Xiph Comments in Ogg Vorbis Files and Ogg Flac Files
* access APE tags in Musepack and MP3 files.
WWW: http://news.tiker.net/software/tagpy
WWW: http://mathema.tician.de//software/tagpy

View file

@ -1,2 +0,0 @@
@comment $FreeBSD$
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%