[127311] trunk/dports/python/py-vorbis
larryv at macports.org
larryv at macports.org
Fri Oct 24 20:22:45 PDT 2014
Revision: 127311
https://trac.macports.org/changeset/127311
Author: larryv at macports.org
Date: 2014-10-24 20:22:45 -0700 (Fri, 24 Oct 2014)
Log Message:
-----------
Remove py-vorbis
Last upstream release was in 2003
(http://ekyo.nerim.net/software/pyogg/).
Removed Paths:
-------------
trunk/dports/python/py-vorbis/Portfile
trunk/dports/python/py-vorbis/files/patch-config_unix.py
trunk/dports/python/py-vorbis/files/patch-pyvorbiscodec.c.diff
trunk/dports/python/py-vorbis/files/patch-pyvorbisfile.c.diff
trunk/dports/python/py-vorbis/files/patch-pyvorbisinfo.c.diff
trunk/dports/python/py-vorbis/files/patch-vorbismodule.c.diff
trunk/dports/python/py-vorbis/files/patch-vorbismodule.h.diff
Deleted: trunk/dports/python/py-vorbis/Portfile
===================================================================
--- trunk/dports/python/py-vorbis/Portfile 2014-10-25 03:22:43 UTC (rev 127310)
+++ trunk/dports/python/py-vorbis/Portfile 2014-10-25 03:22:45 UTC (rev 127311)
@@ -1,45 +0,0 @@
-# $Id$
-
-PortSystem 1.0
-PortGroup python 1.0
-
-name py-vorbis
-version 1.4
-revision 1
-categories-append audio
-license LGPL-2
-platforms darwin
-maintainers nomaintainer
-description Python module for Ogg Vorbis audio encoding and decoding
-long_description ${description}
-
-homepage http://ekyo.nerim.net/software/pyogg/
-master_sites ${homepage}
-distname pyvorbis-${version}
-checksums md5 b4921e792c0a74f75b9d3057df10ee7c
-
-python.versions 24
-
-if {${name} ne ${subport}} {
- patchfiles patch-pyvorbiscodec.c.diff \
- patch-pyvorbisfile.c.diff \
- patch-pyvorbisinfo.c.diff \
- patch-vorbismodule.c.diff \
- patch-vorbismodule.h.diff \
- patch-config_unix.py
-
- depends_lib-append lib:libvorbis:libvorbis \
- port:py${python.version}-ogg
-
- use_configure yes
- pre-configure {
- reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/config_unix.py
- }
- configure.cmd ${python.bin} config_unix.py
- configure.pre_args
-
- post-destroot {
- xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \
- NEWS ${destroot}${prefix}/share/doc/${subport}
- }
-}
Deleted: trunk/dports/python/py-vorbis/files/patch-config_unix.py
===================================================================
--- trunk/dports/python/py-vorbis/files/patch-config_unix.py 2014-10-25 03:22:43 UTC (rev 127310)
+++ trunk/dports/python/py-vorbis/files/patch-config_unix.py 2014-10-25 03:22:45 UTC (rev 127311)
@@ -1,11 +0,0 @@
---- config_unix.py Mon Oct 7 01:04:58 2002
-+++ ../../config_unix.py Tue Dec 28 12:15:36 2004
-@@ -106,7 +106,7 @@
-
- vorbis_include_dir = vorbis_prefix + '/include'
- vorbis_lib_dir = vorbis_prefix + '/lib'
-- vorbis_libs = 'vorbis vorbisfile vorbisenc'
-+ vorbis_libs = 'vorbis vorbisfile vorbisenc ogg'
-
- msg_checking('for Vorbis')
-
Deleted: trunk/dports/python/py-vorbis/files/patch-pyvorbiscodec.c.diff
===================================================================
--- trunk/dports/python/py-vorbis/files/patch-pyvorbiscodec.c.diff 2014-10-25 03:22:43 UTC (rev 127310)
+++ trunk/dports/python/py-vorbis/files/patch-pyvorbiscodec.c.diff 2014-10-25 03:22:45 UTC (rev 127311)
@@ -1,89 +0,0 @@
---- src/pyvorbiscodec.c Tue May 13 10:17:13 2003
-+++ src/pyvorbiscodec.c.new Mon May 31 11:29:44 2004
-@@ -9,6 +9,9 @@
-
- #define MIN(x,y) ((x) < (y) ? (x) : (y))
-
-+PyObject *Py_VorbisError2;
-+ogg_module_info *modinfo3;
-+
- /**************************************************************
- VorbisDSP Object
- **************************************************************/
-@@ -180,9 +183,9 @@
-
- /* Returns a tuple of oggpackets (header, header_comm, header_code) */
-
-- pyheader = modinfo->ogg_packet_from_packet(&header);
-- pyheader_comm = modinfo->ogg_packet_from_packet(&header_comm);
-- pyheader_code = modinfo->ogg_packet_from_packet(&header_code);
-+ pyheader = modinfo3->ogg_packet_from_packet(&header);
-+ pyheader_comm = modinfo3->ogg_packet_from_packet(&header_comm);
-+ pyheader_code = modinfo3->ogg_packet_from_packet(&header_code);
- if (pyheader == NULL || pyheader_comm == NULL || pyheader_code == NULL)
- goto error;
-
-@@ -273,18 +276,18 @@
- snprintf(err_msg, sizeof(err_msg),
- "Expected %d strings as arguments; found %d arguments",
- channels, PyTuple_Size(args));
-- PyErr_SetString(Py_VorbisError, err_msg);
-+ PyErr_SetString(Py_VorbisError2, err_msg);
- return NULL;
- }
-
- len = string_size(args, channels);
- if (len == NON_STRING) {
-- PyErr_SetString(Py_VorbisError,
-+ PyErr_SetString(Py_VorbisError2,
- "All arguments must be strings");
- return NULL;
- }
- if (len == DIFF_LENGTHS) {
-- PyErr_SetString(Py_VorbisError,
-+ PyErr_SetString(Py_VorbisError2,
- "All arguments must have the same length.");
- return NULL;
- }
-@@ -340,7 +343,7 @@
- return NULL;
-
- if (num_bytes % sample_width != 0) {
-- PyErr_SetString(Py_VorbisError,
-+ PyErr_SetString(Py_VorbisError2,
- "Data is not a multiple of (2 * # of channels)");
- return NULL;
- }
-@@ -384,12 +387,12 @@
-
- ret = vorbis_bitrate_flushpacket(PY_DSP(self), &op);
- if (ret == 1)
-- return modinfo->ogg_packet_from_packet(&op);
-+ return modinfo3->ogg_packet_from_packet(&op);
- else if (ret == 0) {
- Py_INCREF(Py_None);
- return Py_None;
- } else {
-- PyErr_SetString(Py_VorbisError, "Unknown return code from flushpacket");
-+ PyErr_SetString(Py_VorbisError2, "Unknown return code from flushpacket");
- return NULL;
- }
- }
-@@ -467,7 +470,7 @@
-
- ret = vorbis_analysis(&b_self->vb, NULL);
- if (ret < 0) {
-- PyErr_SetString(Py_VorbisError, "vorbis_analysis failure");
-+ PyErr_SetString(Py_VorbisError2, "vorbis_analysis failure");
- return NULL;
- }
- Py_INCREF(Py_None);
-@@ -482,7 +485,7 @@
- return NULL;
- ret = vorbis_bitrate_addblock(PY_BLOCK(self));
- if (ret < 0) {
-- PyErr_SetString(Py_VorbisError, "addblock failed");
-+ PyErr_SetString(Py_VorbisError2, "addblock failed");
- return NULL;
- }
- Py_INCREF(Py_None);
Deleted: trunk/dports/python/py-vorbis/files/patch-pyvorbisfile.c.diff
===================================================================
--- trunk/dports/python/py-vorbis/files/patch-pyvorbisfile.c.diff 2014-10-25 03:22:43 UTC (rev 127310)
+++ trunk/dports/python/py-vorbis/files/patch-pyvorbisfile.c.diff 2014-10-25 03:22:45 UTC (rev 127311)
@@ -1,29 +0,0 @@
---- src/pyvorbisfile.c Fri Dec 19 08:11:02 2003
-+++ src/pyvorbisfile.c.new Mon May 31 11:30:35 2004
-@@ -12,6 +12,8 @@
- #include "pyvorbisfile.h"
- #include "pyvorbisinfo.h"
-
-+ogg_module_info *modinfo2;
-+
- /*
- *********************************************************
- VorbisFile Object methods
-@@ -480,7 +482,7 @@
- if (!PyArg_ParseTuple(args, "O", &longobj))
- return NULL;
-
-- if (!modinfo->arg_to_int64(longobj, &pos))
-+ if (!modinfo2->arg_to_int64(longobj, &pos))
- return NULL;
-
- val = ov_pcm_seek(ov_self->ovf, pos);
-@@ -498,7 +500,7 @@
- if (!PyArg_ParseTuple(args, "O", &longobj))
- return NULL;
-
-- if (!modinfo->arg_to_int64(longobj, &pos))
-+ if (!modinfo2->arg_to_int64(longobj, &pos))
- return NULL;
-
- val = ov_pcm_seek_page(ov_self->ovf, pos);
Deleted: trunk/dports/python/py-vorbis/files/patch-pyvorbisinfo.c.diff
===================================================================
--- trunk/dports/python/py-vorbis/files/patch-pyvorbisinfo.c.diff 2014-10-25 03:22:43 UTC (rev 127310)
+++ trunk/dports/python/py-vorbis/files/patch-pyvorbisinfo.c.diff 2014-10-25 03:22:45 UTC (rev 127311)
@@ -1,29 +0,0 @@
---- src/pyvorbisinfo.c Fri Dec 19 08:51:36 2003
-+++ src/pyvorbisinfo.c.new Mon May 31 11:31:06 2004
-@@ -9,6 +9,8 @@
-
- #include "vcedit.h"
-
-+PyObject *Py_VorbisError3;
-+
- /*
- *********************************************************
- VorbisInfo Object methods
-@@ -1080,7 +1082,7 @@
- snprintf(buff, sizeof(buff), "Could not open file %s as vorbis: %s",
- filename,
- vcedit_error(state));
-- PyErr_SetString(Py_VorbisError, buff);
-+ PyErr_SetString(Py_VorbisError3, buff);
-
- vcedit_clear(state);
- fclose(in_file);
-@@ -1106,7 +1108,7 @@
- char buff[256];
- snprintf(buff, sizeof(buff), "Could not write comments to file: %s",
- vcedit_error(state));
-- PyErr_SetString(Py_VorbisError, buff);
-+ PyErr_SetString(Py_VorbisError3, buff);
-
- vcedit_clear(state);
- fclose(in_file);
Deleted: trunk/dports/python/py-vorbis/files/patch-vorbismodule.c.diff
===================================================================
--- trunk/dports/python/py-vorbis/files/patch-vorbismodule.c.diff 2014-10-25 03:22:43 UTC (rev 127310)
+++ trunk/dports/python/py-vorbis/files/patch-vorbismodule.c.diff 2014-10-25 03:22:45 UTC (rev 127311)
@@ -1,11 +0,0 @@
---- src/vorbismodule.c Sun Jan 19 01:46:08 2003
-+++ src/vorbismodule.c.new Mon May 31 11:31:45 2004
-@@ -9,6 +9,8 @@
-
- #include "general.h"
-
-+PyObject *Py_VorbisError;
-+
- static PyMethodDef Vorbis_methods[] = {
- {"VorbisFile", py_file_new,
- METH_VARARGS, py_vorbisfile_doc},
Deleted: trunk/dports/python/py-vorbis/files/patch-vorbismodule.h.diff
===================================================================
--- trunk/dports/python/py-vorbis/files/patch-vorbismodule.h.diff 2014-10-25 03:22:43 UTC (rev 127310)
+++ trunk/dports/python/py-vorbis/files/patch-vorbismodule.h.diff 2014-10-25 03:22:45 UTC (rev 127311)
@@ -1,13 +0,0 @@
---- src/vorbismodule.h Mon Oct 7 01:04:59 2002
-+++ src/vorbismodule.h.new Mon May 31 11:32:30 2004
-@@ -6,10 +6,6 @@
-
- #include "general.h"
-
--ogg_module_info *modinfo;
--
--PyObject *Py_VorbisError;
--
- /* Object docstrings */
-
- extern char py_vorbisfile_doc[];
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141024/a3e8e20c/attachment-0001.html>
More information about the macports-changes
mailing list