Re: update: audio/py-eyed3

2020-05-28 Thread Kurt Mosiejczuk
On Thu, May 28, 2020 at 11:47:43AM +0200, Paco Esteban wrote:
> Ping ?

> New dependencies are already imported.
> Diff at the end for convenience.

Builds fine on amd64 and sparc64 for me. Seems to function correctly on
amd64 for me.

ok kmos

--Kurt

> On Thu, 21 May 2020, Paco Esteban wrote:

> > On Thu, 21 May 2020, Stuart Henderson wrote:
> > 
> > > On 2020/05/20 20:37, Paco Esteban wrote:
> > > > Hi ports@,
> > > > 
> > > > This is an update for audio/py-eyed3 from  0.8.12 to latest 0.9.5
> > > > You can see the can see the changes here:
> > > > 
> > > > https://github.com/nicfit/eyeD3/blob/master/HISTORY.rst
> > > > 
> > > > The update is pretty simple.
> > > > 
> > > > I tried to enable tests by creating a port for the missing port
> > > > `factory_boy`, but this pulls a pretty big tree of dependencies just to
> > > > enable those tests, so I think is not worth it.
> > > > 
> > > > This only has one consumer, audio/py-mutagen and only on the py2 variant
> > > > (which is weird, because this is a py3 only port, so I guess it uses the
> > > > cli directly).
> > > 
> > > It does use the module, I think I just missed that when I changed eyeD3
> > > to use py3. I'll fix that in mutagen.
> > > 
> > > > Tests on the consumer are the same before and after the update:
> > > > 
> > > >   3 failed, 3801 passed
> > > > 
> > > > comments ? ok ?
> > > 
> > > Running the eyeD3 script fails:
> > > 
> > > pkg_resources.DistributionNotFound: The 'deprecation' distribution was 
> > > not found and is required by eyeD3
> > > 
> > > Also py-magic is no longer required.
> > 
> > What a wonderful job I did, didn't I ?
> > 
> > Sorry for that, find the modified diff at the end.  The port now depends
> > on 2 new ports I've sent separately.  I've now tested it reading/writing
> > some tags to a couple of mp3 files without any problems.
> > 
> > Cheers,
> > Paco.
> 
> Index: Makefile
> ===
> RCS file: /home/cvs/ports/audio/py-eyed3/Makefile,v
> retrieving revision 1.21
> diff -u -p -r1.21 Makefile
> --- Makefile  29 Feb 2020 15:54:33 -  1.21
> +++ Makefile  21 May 2020 14:03:37 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT= module and program for processing ID3 tags
>  
> -MODPY_EGG_VERSION=   0.8.12
> +MODPY_EGG_VERSION=   0.9.5
>  DISTNAME=eyeD3-${MODPY_EGG_VERSION}
>  CATEGORIES=  audio
>  
> @@ -16,7 +16,8 @@ MASTER_SITES=   ${HOMEPAGE}releases/
>  MODULES= lang/python
>  # standalone software - intentionally no py-* prefix/FLAVOR.
>  MODPY_VERSION=   ${MODPY_DEFAULT_VERSION_3}
> -RUN_DEPENDS= devel/py-magic${MODPY_FLAVOR} \
> +RUN_DEPENDS= devel/py-deprecation${MODPY_FLAVOR} \
> + devel/py-filetype${MODPY_FLAVOR} \
>   devel/py-six${MODPY_FLAVOR}
>  
>  MODPY_SETUPTOOLS=Yes
> Index: distinfo
> ===
> RCS file: /home/cvs/ports/audio/py-eyed3/distinfo,v
> retrieving revision 1.8
> diff -u -p -r1.8 distinfo
> --- distinfo  28 Dec 2019 15:13:25 -  1.8
> +++ distinfo  20 May 2020 18:03:38 -
> @@ -1,2 +1,2 @@
> -SHA256 (eyeD3-0.8.12.tar.gz) = 5U7sCgP7jn6ei1CVRsbZLvvIcep1l2Ef4sFvA+HJS20=
> -SIZE (eyeD3-0.8.12.tar.gz) = 214073
> +SHA256 (eyeD3-0.9.5.tar.gz) = +vWAYZfyCT6CwoMNQfI3jwezqdoHoW+vsU/G+966xQo=
> +SIZE (eyeD3-0.9.5.tar.gz) = 222994
> Index: pkg/PLIST
> ===
> RCS file: /home/cvs/ports/audio/py-eyed3/pkg/PLIST,v
> retrieving revision 1.5
> diff -u -p -r1.5 PLIST
> --- pkg/PLIST 28 Dec 2019 15:13:26 -  1.5
> +++ pkg/PLIST 20 May 2020 18:05:38 -
> @@ -14,10 +14,9 @@ lib/python${MODPY_VERSION}/site-packages
>  
> ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/eyed3/${MODPY_PYCACHE}/
>  
> lib/python${MODPY_VERSION}/site-packages/eyed3/${MODPY_PYCACHE}__about__.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/eyed3/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
> -lib/python${MODPY_VERSION}/site-packages/eyed3/${MODPY_PYCACHE}compat.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/eyed3/${MODPY_PYCACHE}core.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/eyed3/${MODPY_PYCACHE}main.${MODPY_PYC_MAGIC_TAG}pyc
> -lib/python${MODPY_VERSION}/site-packages/eyed3/compat.py
> +lib/python${MODPY_VERSION}/site-packages/eyed3/${MODPY_PYCACHE}mimetype.${MODPY_PYC_MAGIC_TAG}pyc
>  lib/python${MODPY_VERSION}/site-packages/eyed3/core.py
>  lib/python${MODPY_VERSION}/site-packages/eyed3/id3/
>  lib/python${MODPY_VERSION}/site-packages/eyed3/id3/__init__.py
> @@ -32,6 +31,7 @@ lib/python${MODPY_VERSION}/site-packages
>  lib/python${MODPY_VERSION}/site-packages/eyed3/id3/headers.py
>  lib/python${MODPY_VERSION}/site-packages/eyed3/id3/tag.py
>  lib/python${MODPY_VERSION}/site-packages/eyed3/main.py
> 

Re: update: audio/py-eyed3

2020-05-28 Thread Paco Esteban
Ping ?

New dependencies are already imported.
Diff at the end for convenience.

On Thu, 21 May 2020, Paco Esteban wrote:

> On Thu, 21 May 2020, Stuart Henderson wrote:
> 
> > On 2020/05/20 20:37, Paco Esteban wrote:
> > > Hi ports@,
> > > 
> > > This is an update for audio/py-eyed3 from  0.8.12 to latest 0.9.5
> > > You can see the can see the changes here:
> > > 
> > > https://github.com/nicfit/eyeD3/blob/master/HISTORY.rst
> > > 
> > > The update is pretty simple.
> > > 
> > > I tried to enable tests by creating a port for the missing port
> > > `factory_boy`, but this pulls a pretty big tree of dependencies just to
> > > enable those tests, so I think is not worth it.
> > > 
> > > This only has one consumer, audio/py-mutagen and only on the py2 variant
> > > (which is weird, because this is a py3 only port, so I guess it uses the
> > > cli directly).
> > 
> > It does use the module, I think I just missed that when I changed eyeD3
> > to use py3. I'll fix that in mutagen.
> > 
> > > Tests on the consumer are the same before and after the update:
> > > 
> > >   3 failed, 3801 passed
> > > 
> > > comments ? ok ?
> > 
> > Running the eyeD3 script fails:
> > 
> > pkg_resources.DistributionNotFound: The 'deprecation' distribution was not 
> > found and is required by eyeD3
> > 
> > Also py-magic is no longer required.
> 
> What a wonderful job I did, didn't I ?
> 
> Sorry for that, find the modified diff at the end.  The port now depends
> on 2 new ports I've sent separately.  I've now tested it reading/writing
> some tags to a couple of mp3 files without any problems.
> 
> Cheers,
> Paco.

Index: Makefile
===
RCS file: /home/cvs/ports/audio/py-eyed3/Makefile,v
retrieving revision 1.21
diff -u -p -r1.21 Makefile
--- Makefile29 Feb 2020 15:54:33 -  1.21
+++ Makefile21 May 2020 14:03:37 -
@@ -2,7 +2,7 @@
 
 COMMENT=   module and program for processing ID3 tags
 
-MODPY_EGG_VERSION= 0.8.12
+MODPY_EGG_VERSION= 0.9.5
 DISTNAME=  eyeD3-${MODPY_EGG_VERSION}
 CATEGORIES=audio
 
@@ -16,7 +16,8 @@ MASTER_SITES= ${HOMEPAGE}releases/
 MODULES=   lang/python
 # standalone software - intentionally no py-* prefix/FLAVOR.
 MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
-RUN_DEPENDS=   devel/py-magic${MODPY_FLAVOR} \
+RUN_DEPENDS=   devel/py-deprecation${MODPY_FLAVOR} \
+   devel/py-filetype${MODPY_FLAVOR} \
devel/py-six${MODPY_FLAVOR}
 
 MODPY_SETUPTOOLS=  Yes
Index: distinfo
===
RCS file: /home/cvs/ports/audio/py-eyed3/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo28 Dec 2019 15:13:25 -  1.8
+++ distinfo20 May 2020 18:03:38 -
@@ -1,2 +1,2 @@
-SHA256 (eyeD3-0.8.12.tar.gz) = 5U7sCgP7jn6ei1CVRsbZLvvIcep1l2Ef4sFvA+HJS20=
-SIZE (eyeD3-0.8.12.tar.gz) = 214073
+SHA256 (eyeD3-0.9.5.tar.gz) = +vWAYZfyCT6CwoMNQfI3jwezqdoHoW+vsU/G+966xQo=
+SIZE (eyeD3-0.9.5.tar.gz) = 222994
Index: pkg/PLIST
===
RCS file: /home/cvs/ports/audio/py-eyed3/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- pkg/PLIST   28 Dec 2019 15:13:26 -  1.5
+++ pkg/PLIST   20 May 2020 18:05:38 -
@@ -14,10 +14,9 @@ lib/python${MODPY_VERSION}/site-packages
 
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/eyed3/${MODPY_PYCACHE}/
 
lib/python${MODPY_VERSION}/site-packages/eyed3/${MODPY_PYCACHE}__about__.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/eyed3/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
-lib/python${MODPY_VERSION}/site-packages/eyed3/${MODPY_PYCACHE}compat.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/eyed3/${MODPY_PYCACHE}core.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/eyed3/${MODPY_PYCACHE}main.${MODPY_PYC_MAGIC_TAG}pyc
-lib/python${MODPY_VERSION}/site-packages/eyed3/compat.py
+lib/python${MODPY_VERSION}/site-packages/eyed3/${MODPY_PYCACHE}mimetype.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/eyed3/core.py
 lib/python${MODPY_VERSION}/site-packages/eyed3/id3/
 lib/python${MODPY_VERSION}/site-packages/eyed3/id3/__init__.py
@@ -32,6 +31,7 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/eyed3/id3/headers.py
 lib/python${MODPY_VERSION}/site-packages/eyed3/id3/tag.py
 lib/python${MODPY_VERSION}/site-packages/eyed3/main.py
+lib/python${MODPY_VERSION}/site-packages/eyed3/mimetype.py
 lib/python${MODPY_VERSION}/site-packages/eyed3/mp3/
 lib/python${MODPY_VERSION}/site-packages/eyed3/mp3/__init__.py
 
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/eyed3/mp3/${MODPY_PYCACHE}/
@@ -46,28 +46,36 @@ lib/python${MODPY_VERSION}/site-packages
 

Re: update: audio/py-eyed3

2020-05-21 Thread Paco Esteban
On Thu, 21 May 2020, Stuart Henderson wrote:

> On 2020/05/20 20:37, Paco Esteban wrote:
> > Hi ports@,
> > 
> > This is an update for audio/py-eyed3 from  0.8.12 to latest 0.9.5
> > You can see the can see the changes here:
> > 
> > https://github.com/nicfit/eyeD3/blob/master/HISTORY.rst
> > 
> > The update is pretty simple.
> > 
> > I tried to enable tests by creating a port for the missing port
> > `factory_boy`, but this pulls a pretty big tree of dependencies just to
> > enable those tests, so I think is not worth it.
> > 
> > This only has one consumer, audio/py-mutagen and only on the py2 variant
> > (which is weird, because this is a py3 only port, so I guess it uses the
> > cli directly).
> 
> It does use the module, I think I just missed that when I changed eyeD3
> to use py3. I'll fix that in mutagen.
> 
> > Tests on the consumer are the same before and after the update:
> > 
> >   3 failed, 3801 passed
> > 
> > comments ? ok ?
> 
> Running the eyeD3 script fails:
> 
> pkg_resources.DistributionNotFound: The 'deprecation' distribution was not 
> found and is required by eyeD3
> 
> Also py-magic is no longer required.

What a wonderful job I did, didn't I ?

Sorry for that, find the modified diff at the end.  The port now depends
on 2 new ports I've sent separately.  I've now tested it reading/writing
some tags to a couple of mp3 files without any problems.

Cheers,
Paco.

Index: Makefile
===
RCS file: /home/cvs/ports/audio/py-eyed3/Makefile,v
retrieving revision 1.21
diff -u -p -r1.21 Makefile
--- Makefile29 Feb 2020 15:54:33 -  1.21
+++ Makefile21 May 2020 14:03:37 -
@@ -2,7 +2,7 @@
 
 COMMENT=   module and program for processing ID3 tags
 
-MODPY_EGG_VERSION= 0.8.12
+MODPY_EGG_VERSION= 0.9.5
 DISTNAME=  eyeD3-${MODPY_EGG_VERSION}
 CATEGORIES=audio
 
@@ -16,7 +16,8 @@ MASTER_SITES= ${HOMEPAGE}releases/
 MODULES=   lang/python
 # standalone software - intentionally no py-* prefix/FLAVOR.
 MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
-RUN_DEPENDS=   devel/py-magic${MODPY_FLAVOR} \
+RUN_DEPENDS=   devel/py-deprecation${MODPY_FLAVOR} \
+   devel/py-filetype${MODPY_FLAVOR} \
devel/py-six${MODPY_FLAVOR}
 
 MODPY_SETUPTOOLS=  Yes
Index: distinfo
===
RCS file: /home/cvs/ports/audio/py-eyed3/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo28 Dec 2019 15:13:25 -  1.8
+++ distinfo20 May 2020 18:03:38 -
@@ -1,2 +1,2 @@
-SHA256 (eyeD3-0.8.12.tar.gz) = 5U7sCgP7jn6ei1CVRsbZLvvIcep1l2Ef4sFvA+HJS20=
-SIZE (eyeD3-0.8.12.tar.gz) = 214073
+SHA256 (eyeD3-0.9.5.tar.gz) = +vWAYZfyCT6CwoMNQfI3jwezqdoHoW+vsU/G+966xQo=
+SIZE (eyeD3-0.9.5.tar.gz) = 222994
Index: pkg/PLIST
===
RCS file: /home/cvs/ports/audio/py-eyed3/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- pkg/PLIST   28 Dec 2019 15:13:26 -  1.5

-- 
Paco Esteban.
0x5818130B8A6DBC03



Re: update: audio/py-eyed3

2020-05-21 Thread Stuart Henderson
On 2020/05/20 20:37, Paco Esteban wrote:
> Hi ports@,
> 
> This is an update for audio/py-eyed3 from  0.8.12 to latest 0.9.5
> You can see the can see the changes here:
> 
> https://github.com/nicfit/eyeD3/blob/master/HISTORY.rst
> 
> The update is pretty simple.
> 
> I tried to enable tests by creating a port for the missing port
> `factory_boy`, but this pulls a pretty big tree of dependencies just to
> enable those tests, so I think is not worth it.
> 
> This only has one consumer, audio/py-mutagen and only on the py2 variant
> (which is weird, because this is a py3 only port, so I guess it uses the
> cli directly).

It does use the module, I think I just missed that when I changed eyeD3
to use py3. I'll fix that in mutagen.

> Tests on the consumer are the same before and after the update:
> 
>   3 failed, 3801 passed
> 
> comments ? ok ?

Running the eyeD3 script fails:

pkg_resources.DistributionNotFound: The 'deprecation' distribution was not 
found and is required by eyeD3

Also py-magic is no longer required.



update: audio/py-eyed3

2020-05-20 Thread Paco Esteban
Hi ports@,

This is an update for audio/py-eyed3 from  0.8.12 to latest 0.9.5
You can see the can see the changes here:

https://github.com/nicfit/eyeD3/blob/master/HISTORY.rst

The update is pretty simple.

I tried to enable tests by creating a port for the missing port
`factory_boy`, but this pulls a pretty big tree of dependencies just to
enable those tests, so I think is not worth it.

This only has one consumer, audio/py-mutagen and only on the py2 variant
(which is weird, because this is a py3 only port, so I guess it uses the
cli directly).

Tests on the consumer are the same before and after the update:

  3 failed, 3801 passed

comments ? ok ?

Index: Makefile
===
RCS file: /home/cvs/ports/audio/py-eyed3/Makefile,v
retrieving revision 1.21
diff -u -p -r1.21 Makefile
--- Makefile29 Feb 2020 15:54:33 -  1.21
+++ Makefile20 May 2020 17:09:09 -
@@ -2,7 +2,7 @@
 
 COMMENT=   module and program for processing ID3 tags
 
-MODPY_EGG_VERSION= 0.8.12
+MODPY_EGG_VERSION= 0.9.5
 DISTNAME=  eyeD3-${MODPY_EGG_VERSION}
 CATEGORIES=audio
 
Index: distinfo
===
RCS file: /home/cvs/ports/audio/py-eyed3/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo28 Dec 2019 15:13:25 -  1.8
+++ distinfo20 May 2020 18:03:38 -
@@ -1,2 +1,2 @@
-SHA256 (eyeD3-0.8.12.tar.gz) = 5U7sCgP7jn6ei1CVRsbZLvvIcep1l2Ef4sFvA+HJS20=
-SIZE (eyeD3-0.8.12.tar.gz) = 214073
+SHA256 (eyeD3-0.9.5.tar.gz) = +vWAYZfyCT6CwoMNQfI3jwezqdoHoW+vsU/G+966xQo=
+SIZE (eyeD3-0.9.5.tar.gz) = 222994
Index: pkg/PLIST
===
RCS file: /home/cvs/ports/audio/py-eyed3/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- pkg/PLIST   28 Dec 2019 15:13:26 -  1.5
+++ pkg/PLIST   20 May 2020 18:05:38 -
@@ -14,10 +14,9 @@ lib/python${MODPY_VERSION}/site-packages
 
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/eyed3/${MODPY_PYCACHE}/
 
lib/python${MODPY_VERSION}/site-packages/eyed3/${MODPY_PYCACHE}__about__.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/eyed3/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
-lib/python${MODPY_VERSION}/site-packages/eyed3/${MODPY_PYCACHE}compat.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/eyed3/${MODPY_PYCACHE}core.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/eyed3/${MODPY_PYCACHE}main.${MODPY_PYC_MAGIC_TAG}pyc
-lib/python${MODPY_VERSION}/site-packages/eyed3/compat.py
+lib/python${MODPY_VERSION}/site-packages/eyed3/${MODPY_PYCACHE}mimetype.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/eyed3/core.py
 lib/python${MODPY_VERSION}/site-packages/eyed3/id3/
 lib/python${MODPY_VERSION}/site-packages/eyed3/id3/__init__.py
@@ -32,6 +31,7 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/eyed3/id3/headers.py
 lib/python${MODPY_VERSION}/site-packages/eyed3/id3/tag.py
 lib/python${MODPY_VERSION}/site-packages/eyed3/main.py
+lib/python${MODPY_VERSION}/site-packages/eyed3/mimetype.py
 lib/python${MODPY_VERSION}/site-packages/eyed3/mp3/
 lib/python${MODPY_VERSION}/site-packages/eyed3/mp3/__init__.py
 
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/eyed3/mp3/${MODPY_PYCACHE}/
@@ -46,28 +46,36 @@ lib/python${MODPY_VERSION}/site-packages
 
lib/python${MODPY_VERSION}/site-packages/eyed3/plugins/${MODPY_PYCACHE}art.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/eyed3/plugins/${MODPY_PYCACHE}classic.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/eyed3/plugins/${MODPY_PYCACHE}display.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/eyed3/plugins/${MODPY_PYCACHE}extract.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/eyed3/plugins/${MODPY_PYCACHE}fixup.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/eyed3/plugins/${MODPY_PYCACHE}genres.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/eyed3/plugins/${MODPY_PYCACHE}itunes.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/eyed3/plugins/${MODPY_PYCACHE}jsontag.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/eyed3/plugins/${MODPY_PYCACHE}lameinfo.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/eyed3/plugins/${MODPY_PYCACHE}lastfm.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/eyed3/plugins/${MODPY_PYCACHE}mimetype.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/eyed3/plugins/${MODPY_PYCACHE}nfo.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/eyed3/plugins/${MODPY_PYCACHE}pymod.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/eyed3/plugins/${MODPY_PYCACHE}stats.${MODPY_PYC_MAGIC_TAG}pyc
 

UPDATE: audio/py-eyed3 0.7.11 => 0.8

2017-06-12 Thread Brian Callahan
Hi ports --

Attached is a diff to update audio/py-eyed3 to its latest version.
Upstream changed the bin/eyeD3 script, and it works without patching
now, so the one remaining patch can be removed. Additionally, this now
has an RDEP on devel/py-pathlib.

Take maintainer.

~Brian

Index: Makefile
===
RCS file: /cvs/ports/audio/py-eyed3/Makefile,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 Makefile
--- Makefile28 Apr 2017 22:24:36 -  1.15
+++ Makefile13 Jun 2017 00:59:44 -
@@ -2,11 +2,12 @@
 
 COMMENT=   module and program for processing ID3 tags
 
-MODPY_EGG_VERSION= 0.7.11
+MODPY_EGG_VERSION= 0.8
 DISTNAME=  eyeD3-${MODPY_EGG_VERSION}
 CATEGORIES=audio
 
 HOMEPAGE=  http://eyed3.nicfit.net/
+MAINTAINER=Brian Callahan <bcal...@devio.us>
 
 # GPLv2+
 PERMIT_PACKAGE_CDROM=  Yes
@@ -17,11 +18,10 @@ MODULES=lang/python
 
 MODPY_SETUPTOOLS=  Yes
 
+RUN_DEPENDS=   devel/py-pathlib
+
 FAKE_FLAGS=docdir=${WRKINST}${PREFIX}/share/doc/py-eyed3
 
 NO_TEST=   Yes
-
-pre-build:
-   ${SUBST_CMD} ${WRKSRC}/bin/eyeD3
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/audio/py-eyed3/distinfo,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 distinfo
--- distinfo28 Apr 2017 22:24:36 -  1.5
+++ distinfo13 Jun 2017 00:59:44 -
@@ -1,2 +1,2 @@
-SHA256 (eyeD3-0.7.11.tar.gz) = J4jwnW3bmKxxww8ComCt5+sxmM/LbWvpsaXCDZW7BDs=
-SIZE (eyeD3-0.7.11.tar.gz) = 234235
+SHA256 (eyeD3-0.8.tar.gz) = EBCbdlCKcmBCss1qj9ArbW5VHcJ3kB10AWtw48DimrU=
+SIZE (eyeD3-0.8.tar.gz) = 223315
Index: patches/patch-bin_eyeD3
===
RCS file: patches/patch-bin_eyeD3
diff -N patches/patch-bin_eyeD3
--- patches/patch-bin_eyeD3 11 Dec 2015 18:20:01 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,9 +0,0 @@
-$OpenBSD: patch-bin_eyeD3,v 1.1 2015/12/11 18:20:01 sthen Exp $
 bin/eyeD3.orig Wed Oct 24 02:38:29 2012
-+++ bin/eyeD3  Fri Dec 11 18:52:31 2015
-@@ -1,3 +1,3 @@
--#!/usr/bin/env bash
-+#!/bin/sh
- 
--python -m eyed3.main "$@"
-+exec ${MODPY_BIN} -m eyed3.main "$@"
Index: pkg/PLIST
===
RCS file: /cvs/ports/audio/py-eyed3/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 PLIST
--- pkg/PLIST   11 Dec 2015 18:20:01 -  1.3
+++ pkg/PLIST   13 Jun 2017 00:59:44 -
@@ -4,9 +4,13 @@ lib/python${MODPY_VERSION}/site-packages
 
lib/python${MODPY_VERSION}/site-packages/eyeD3-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
 
lib/python${MODPY_VERSION}/site-packages/eyeD3-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
 
lib/python${MODPY_VERSION}/site-packages/eyeD3-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
+lib/python${MODPY_VERSION}/site-packages/eyeD3-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/entry_points.txt
 
lib/python${MODPY_VERSION}/site-packages/eyeD3-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe
+lib/python${MODPY_VERSION}/site-packages/eyeD3-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
 
lib/python${MODPY_VERSION}/site-packages/eyeD3-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
 lib/python${MODPY_VERSION}/site-packages/eyed3/
+lib/python${MODPY_VERSION}/site-packages/eyed3/__about__.py
+lib/python${MODPY_VERSION}/site-packages/eyed3/__about__.pyc
 lib/python${MODPY_VERSION}/site-packages/eyed3/__init__.py
 lib/python${MODPY_VERSION}/site-packages/eyed3/__init__.pyc
 lib/python${MODPY_VERSION}/site-packages/eyed3/compat.py
@@ -24,9 +28,6 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/eyed3/id3/headers.pyc
 lib/python${MODPY_VERSION}/site-packages/eyed3/id3/tag.py
 lib/python${MODPY_VERSION}/site-packages/eyed3/id3/tag.pyc
-lib/python${MODPY_VERSION}/site-packages/eyed3/info.py
-lib/python${MODPY_VERSION}/site-packages/eyed3/info.py.in
-lib/python${MODPY_VERSION}/site-packages/eyed3/info.pyc
 lib/python${MODPY_VERSION}/site-packages/eyed3/main.py
 lib/python${MODPY_VERSION}/site-packages/eyed3/main.pyc
 lib/python${MODPY_VERSION}/site-packages/eyed3/mp3/
@@ -37,10 +38,14 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/eyed3/plugins/
 lib/python${MODPY_VERSION}/site-packages/eyed3/plugins/__init__.py
 lib/python${MODPY_VERSION}/site-packages/eyed3/plugins/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/eyed3/plugins/_display_parser.py
+lib/python${MODPY_VERSION}/site-packages/eyed3/plugins/_display_parser.pyc
 lib/python${MODPY_VERSION}/site-packages/eyed3/plugins/art.py
 lib/python${MODPY_VERSION}/site-packages/eyed3/plugins/art.pyc
 lib/python${MODPY_VERSION}/site-packages/eyed3/plug

Re: update audio/py-eyed3

2015-12-10 Thread Daniel Jakots
On Sun, 6 Dec 2015 17:26:41 +0100, Daniel Jakots 
wrote:

> I basically tested with `eyeD3 random-music.mp3`, it works as before.

i386 works fine too (previous test was amd64)



update audio/py-eyed3

2015-12-06 Thread Daniel Jakots
Hi,

audio/py-eyed3 didn't receive any update for some time. They have moved
from "autoconf, m4, and make" and it got bigger by the time.

I basically tested with `eyeD3 random-music.mp3`, it works as before. If
I looked correctly, nothing depends on it in the ports tree.

Cheers,
Daniel

Index: Makefile
===
RCS file: /cvs/ports/audio/py-eyed3/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile18 Sep 2014 07:26:38 -  1.12
+++ Makefile6 Dec 2015 16:25:47 -
@@ -2,7 +2,7 @@
 
 COMMENT=   module and program for processing ID3 tags
 
-MODPY_EGG_VERSION= 0.6.18
+MODPY_EGG_VERSION= 0.7.9
 DISTNAME=  eyeD3-${MODPY_EGG_VERSION}
 CATEGORIES=audio
 
@@ -16,10 +16,9 @@ MASTER_SITES=${HOMEPAGE}releases/
 MODULES=   lang/python
 MODPY_ADJ_FILES=   bin/eyeD3
 
-USE_GMAKE= Yes
-FAKE_FLAGS=docdir=${WRKINST}${PREFIX}/share/doc/py-eyed3
+MODPY_SETUPTOOLS=  Yes
 
-CONFIGURE_STYLE=   gnu
+FAKE_FLAGS=docdir=${WRKINST}${PREFIX}/share/doc/py-eyed3
 
 NO_TEST=   Yes
 
Index: distinfo
===
RCS file: /cvs/ports/audio/py-eyed3/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo18 Sep 2014 07:26:38 -  1.2
+++ distinfo6 Dec 2015 16:25:47 -
@@ -1,2 +1,2 @@
-SHA256 (eyeD3-0.6.18.tar.gz) = rYceJSRz8duBsldK46fT4UEo4o3gtUmYtM4dYtwgdAY=
-SIZE (eyeD3-0.6.18.tar.gz) = 117002
+SHA256 (eyeD3-0.7.9.tar.gz) = 9+eXOye0e27v1H76lJapqaOVe/Cg8ccIEW2YOR6GvyI=
+SIZE (eyeD3-0.7.9.tar.gz) = 230160
Index: patches/patch-Makefile_in
===
RCS file: patches/patch-Makefile_in
diff -N patches/patch-Makefile_in
--- patches/patch-Makefile_in   18 Sep 2014 07:26:38 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,11 +0,0 @@
-$OpenBSD: patch-Makefile_in,v 1.2 2014/09/18 07:26:38 sthen Exp $
 Makefile.in.orig   Fri Nov 25 04:37:44 2011
-+++ Makefile.inThu Sep 18 08:10:17 2014
-@@ -67,7 +67,6 @@ install:
- 
-   install -m 755 -d ${mandir}/man1
-   install -m 644 doc/eyeD3.1 ${mandir}/man1
--  gzip -f -9 ${mandir}/man1/eyeD3.1
- 
-   @#
-   @# NOTE:  When adding new files, the eyeD3.spec.in file and
Index: patches/patch-bin_eyeD3
===
RCS file: patches/patch-bin_eyeD3
diff -N patches/patch-bin_eyeD3
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-bin_eyeD3 6 Dec 2015 16:25:47 -
@@ -0,0 +1,9 @@
+$OpenBSD$
+--- bin/eyeD3.orig Wed Oct 24 02:38:29 2012
 bin/eyeD3  Sun Dec  6 17:04:41 2015
+@@ -1,3 +1,3 @@
+-#!/usr/bin/env bash
++#!/bin/sh
+ 
+-python -m eyed3.main "$@"
++python2.7 -m eyed3.main "$@"
Index: patches/patch-configure
===
RCS file: patches/patch-configure
diff -N patches/patch-configure
--- patches/patch-configure 18 Sep 2014 07:26:38 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,11 +0,0 @@
-$OpenBSD: patch-configure,v 1.2 2014/09/18 07:26:38 sthen Exp $
 configure.orig Thu Sep 18 08:11:24 2014
-+++ configure  Thu Sep 18 08:12:06 2014
-@@ -1710,7 +1710,6 @@ fi
- 
- 
- 
--   PYTHON=""
-for python in python python2 python2.5; do
-   unset ac_cv_path_PYTHON
-for ac_prog in $python
Index: pkg/PLIST
===
RCS file: /cvs/ports/audio/py-eyed3/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST   18 Sep 2014 07:26:38 -  1.2
+++ pkg/PLIST   6 Dec 2015 16:25:47 -
@@ -1,22 +1,77 @@
 @comment $OpenBSD: PLIST,v 1.2 2014/09/18 07:26:38 sthen Exp $
 bin/eyeD3
-lib/python${MODPY_VERSION}/site-packages/eyeD3/
-lib/python${MODPY_VERSION}/site-packages/eyeD3-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
-lib/python${MODPY_VERSION}/site-packages/eyeD3/__init__.py
-lib/python${MODPY_VERSION}/site-packages/eyeD3/__init__.pyc
-lib/python${MODPY_VERSION}/site-packages/eyeD3/binfuncs.py
-lib/python${MODPY_VERSION}/site-packages/eyeD3/binfuncs.pyc
-lib/python${MODPY_VERSION}/site-packages/eyeD3/frames.py
-lib/python${MODPY_VERSION}/site-packages/eyeD3/frames.pyc
-lib/python${MODPY_VERSION}/site-packages/eyeD3/mp3.py
-lib/python${MODPY_VERSION}/site-packages/eyeD3/mp3.pyc
-lib/python${MODPY_VERSION}/site-packages/eyeD3/tag.py
-lib/python${MODPY_VERSION}/site-packages/eyeD3/tag.pyc
-lib/python${MODPY_VERSION}/site-packages/eyeD3/utils.py
-lib/python${MODPY_VERSION}/site-packages/eyeD3/utils.pyc
-@man man/man1/eyeD3.1
-share/doc/${MODPY_PY_PREFIX}eyed3/
 @comment share/doc/${MODPY_PY_PREFIX}eyed3/AUTHORS
 @comment share/doc/${MODPY_PY_PREFIX}eyed3/COPYING.gz
 @comment share/doc/${MODPY_PY_PREFIX}eyed3/ChangeLog.gz