Re: [NEW] beets

2014-05-20 Thread frantisek holop
this program was just put into my queue
for porting a couple of weeks ago, you
beet me to it :]

and the author beet me to writing it,
i have just starting working a tag/filename
normalizer. this is how people get lazy!
others doing the heavy lifting...


commit commit commit plz!

-f
-- 
program: n. used to turn valid data into error messages



Re: [NEW] beets

2014-05-17 Thread Nils R
Johan Huldtgren schrieb am 16.05.2014 21:04:

 On 5/15/14, 2:23 PM, Nils R wrote:
 
 Thanks :)  It's a nice program indeed.  Finally a tagger with a sane
 config syntax, low overhead and which allows to get tags from
 musicbrainz *and* discogs.  Btw, i use to browse the ports tree on
 ports.su from time to time to look for nice programs i would otherwise
 never notice, e.g. xbanish, youtube-dl, lumail, and many more.
 
 I've been using beets on FreeBSD so I moved over my library.db and
 config.yaml to test this out. However I had quite a few plugins enabled
 that don't work in the port yet (as per your earlier e-mail). So here is
 what I needed to do to get it all working:
 
 fetchart just needs www/py-requests, which we have and doesn't pull
 in anything additional, so adding it as a RUN_DEPENDS seems like a
 reasonable idea.
 
 I created a port for py-discogs-client, see separate e-mail.
 
 I created a pkg/MESSAGE to mention it and a few other plugins which
 require additional packages to be installed.
 
 Finally the man pages for beet and beetsconfig weren't installed by
 your port so I added that step.
 
 updated port is attached.
 
 .jh
 

Hi Johan,

thanks for spotting these issues.  I also came across the problem that 
dependencies for the plugins are missing, but decided that this should 
not be part of beets, because we can't pull in all dependencies for all
plugins, and they are documented on the beets documentation.  py-request
won't hurt though, and it is needed by a fair amount of plugins, so i 
think it's a good idea to just have it pulled in by beets, thats less
confusing for the users.

I also created a port for discogs, but didn't post it to the list yet :)
I'll compare them and then post in the other thread.

Thanks for your help!

Nils



Re: [NEW] beets

2014-05-16 Thread Johan Huldtgren

On 5/15/14, 2:23 PM, Nils R wrote:


Thanks :)  It's a nice program indeed.  Finally a tagger with a sane
config syntax, low overhead and which allows to get tags from
musicbrainz *and* discogs.  Btw, i use to browse the ports tree on
ports.su from time to time to look for nice programs i would otherwise
never notice, e.g. xbanish, youtube-dl, lumail, and many more.


I've been using beets on FreeBSD so I moved over my library.db and
config.yaml to test this out. However I had quite a few plugins enabled
that don't work in the port yet (as per your earlier e-mail). So here is
what I needed to do to get it all working:

fetchart just needs www/py-requests, which we have and doesn't pull
in anything additional, so adding it as a RUN_DEPENDS seems like a
reasonable idea.

I created a port for py-discogs-client, see separate e-mail.

I created a pkg/MESSAGE to mention it and a few other plugins which
require additional packages to be installed.

Finally the man pages for beet and beetsconfig weren't installed by
your port so I added that step.

updated port is attached.

.jh


beets.tgz
Description: Binary data


Re: [NEW] beets

2014-05-15 Thread Nils R
Stuart Henderson schrieb am 13.05.2014 17:13:

 On 2014/05/13 17:07, Nils R wrote:
 Brian Callahan schrieb am 13.05.2014 16:57:
 
  
  On 05/13/14 10:41, Nils R wrote:
  Now that all dependencies are in the tree, here's an updated port
  for the new beets version 1.3.6.
 
  Any comments?
 
  Nils
  
  Do you not want to be maintainer?
  
  'make test' downloads a whole bunch of stuff from the Internet, then 
  fails for me:
  AttributeError: 'module' object has no attribute 'suite'
  So something needs to be done about that. Maybe just NO_TEST=Yes
  
  Otherwise looks ok.
  
  ~Brian
  
 
 Hi Brian,
 
 i have to get more comfortable with all that ports stuff before i become
 a maintainer.  So it looks like there are tests, but for now i disabled
 them.  When i have more time i will have a look at this and maybe enable
 it later.
 
 Added NO_TEST = Yes to the Makefile.
 
 The question there is, whether there are non-test codepaths that
 would also try to install things from the internet at runtime...
 

I checked the setup.py file, which lists the dependencies for the various 
targets (main program, tests, plugins):

install_requires=[
'enum34',
'mutagen=1.22',
'munkres',
'unidecode',
'musicbrainzngs=0.4',
'pyyaml',
]
+ (['colorama'] if (sys.platform == 'win32') else [])
+ (['ordereddict'] if sys.version_info  (2, 7, 0) else []),

tests_require=[
'responses',
'pyechonest',
'mock',
'flask',
'rarfile',
'pylast',
],

# Plugin (optional) dependencies:
extras_require={
'beatport': ['requests'],
'fetchart': ['requests'],
'chroma': ['pyacoustid'],
'discogs': ['discogs-client'],
'echonest': ['pyechonest'],
'echonest_tempo': ['pyechonest'],
'lastgenre': ['pylast'],
'mpdstats': ['python-mpd'],
'web': ['flask'],
'import': ['rarfile'],

Until all test dependencies are ported, i would go for a NO_TEST=Yes.

What do you think?

Nils



Re: [NEW] beets

2014-05-15 Thread lvdd


 On 13 May 2014 at 17:07 Nils R m...@hxgn.net wrote:

 Hi Brian,

 i have to get more comfortable with all that ports stuff before i become
 a maintainer.  So it looks like there are tests, but for now i disabled
 them.  When i have more time i will have a look at this and maybe enable
 it later.

 Added NO_TEST = Yes to the Makefile.

 Nils

Hi,

I built this yesterday on amd64. Seems to be running fine, although I haven't
used it too much yet.
I really ask myself why I didn't discover this piece of software earlier - never
heard of it before. It would have saved me so much work a year ago. Very excited
to see it in ports/packages. 

Thanks a lot for bringing it in

Lars



Re: [NEW] beets

2014-05-15 Thread Erling Westenvik
On Thu, May 15, 2014 at 09:34:28AM +0200, lvdd wrote:
  On 13 May 2014 at 17:07 Nils R m...@hxgn.net wrote:
 
  Hi Brian,
 
  i have to get more comfortable with all that ports stuff before i
  become a maintainer.  So it looks like there are tests, but for now
  i disabled them.  When i have more time i will have a look at this
  and maybe enable it later.
 
  Added NO_TEST = Yes to the Makefile.
 
  Nils
 
 Hi,
 
 I built this yesterday on amd64. Seems to be running fine, although I
 haven't used it too much yet.

Same for i386.

 I really ask myself why I didn't discover this piece of software
 earlier - never heard of it before. It would have saved me so much
 work a year ago. Very excited to see it in ports/packages. 
 Thanks a lot for bringing it in

Yeah. Thanks a lot, Nils!

Erling



Re: [NEW] beets

2014-05-15 Thread Nils R
 I really ask myself why I didn't discover this piece of software
 earlier - never heard of it before. It would have saved me so much
 work a year ago. Very excited to see it in ports/packages. 
 Thanks a lot for bringing it in
 
 Yeah. Thanks a lot, Nils!
 
 Erling
 

Thanks :)  It's a nice program indeed.  Finally a tagger with a sane
config syntax, low overhead and which allows to get tags from 
musicbrainz *and* discogs.  Btw, i use to browse the ports tree on 
ports.su from time to time to look for nice programs i would otherwise 
never notice, e.g. xbanish, youtube-dl, lumail, and many more.

Nils



Re: [NEW] beets

2014-05-13 Thread Nils R
Now that all dependencies are in the tree, here's an updated port
for the new beets version 1.3.6.

Any comments?

Nils

beets-1.3.6.tgz
Description: GNU Zip compressed data


Re: [NEW] beets

2014-05-13 Thread Brian Callahan


On 05/13/14 10:41, Nils R wrote:

Now that all dependencies are in the tree, here's an updated port
for the new beets version 1.3.6.

Any comments?

Nils


Do you not want to be maintainer?

'make test' downloads a whole bunch of stuff from the Internet, then 
fails for me:

AttributeError: 'module' object has no attribute 'suite'
So something needs to be done about that. Maybe just NO_TEST=Yes

Otherwise looks ok.

~Brian



Re: [NEW] beets

2014-05-13 Thread Nils R
Brian Callahan schrieb am 13.05.2014 16:57:

 
 On 05/13/14 10:41, Nils R wrote:
 Now that all dependencies are in the tree, here's an updated port
 for the new beets version 1.3.6.

 Any comments?

 Nils
 
 Do you not want to be maintainer?
 
 'make test' downloads a whole bunch of stuff from the Internet, then 
 fails for me:
 AttributeError: 'module' object has no attribute 'suite'
 So something needs to be done about that. Maybe just NO_TEST=Yes
 
 Otherwise looks ok.
 
 ~Brian
 

Hi Brian,

i have to get more comfortable with all that ports stuff before i become
a maintainer.  So it looks like there are tests, but for now i disabled
them.  When i have more time i will have a look at this and maybe enable
it later.

Added NO_TEST = Yes to the Makefile.

Nils

beets-1.3.6-1.tgz
Description: GNU Zip compressed data


Re: [NEW] beets

2014-05-13 Thread Stuart Henderson
On 2014/05/13 17:07, Nils R wrote:
 Brian Callahan schrieb am 13.05.2014 16:57:
 
  
  On 05/13/14 10:41, Nils R wrote:
  Now that all dependencies are in the tree, here's an updated port
  for the new beets version 1.3.6.
 
  Any comments?
 
  Nils
  
  Do you not want to be maintainer?
  
  'make test' downloads a whole bunch of stuff from the Internet, then 
  fails for me:
  AttributeError: 'module' object has no attribute 'suite'
  So something needs to be done about that. Maybe just NO_TEST=Yes
  
  Otherwise looks ok.
  
  ~Brian
  
 
 Hi Brian,
 
 i have to get more comfortable with all that ports stuff before i become
 a maintainer.  So it looks like there are tests, but for now i disabled
 them.  When i have more time i will have a look at this and maybe enable
 it later.
 
 Added NO_TEST = Yes to the Makefile.

The question there is, whether there are non-test codepaths that
would also try to install things from the internet at runtime...



Re: [NEW] beets

2014-05-06 Thread Erling Westenvik
On Tue, May 06, 2014 at 03:34:43PM +0200, Nils R wrote:
 i ported beets, including it's missing dependencies.

What is beets? Something by Dr.Dre?

Erling



Re: [NEW] beets

2014-05-06 Thread Stuart Henderson
On 2014/05/06 15:36, Erling Westenvik wrote:
 On Tue, May 06, 2014 at 03:34:43PM +0200, Nils R wrote:
  i ported beets, including it's missing dependencies.
 
 What is beets? Something by Dr.Dre?
 
 Erling
 

Usefullooking set of cli tools for managing music libraries.
See the video on beets.radbox.org.



Re: [NEW] beets

2014-05-06 Thread Nils R
Cleaned up the Makefile with hints from sthen@.

Nils

beets-1.tgz
Description: GNU Zip compressed data


Re: [NEW] beets

2014-05-06 Thread Aaron
On Tue, May 6, 2014 at 8:47 AM, Nils R m...@hxgn.net wrote:

 Cleaned up the Makefile with hints from sthen@.


I think enum34 is missing as a dependency.



 Nils


Re: [NEW] beets

2014-05-06 Thread Nils R
Added a missing dependency on py-enum34.

Nils

beets-2.tgz
Description: GNU Zip compressed data