[aur-general] a cpan2aur, npm2aur, gem2arch like utility for Python
I've been looking, but I haven't yet found a utility like cpan2aur or gem2arch, etc for Python 'eggs' or whatever they're called ;-) I use cpan2aur ( well it's underlying module parent ) rather prolifically maintaining my Perl AUR PKGBUILDs, I eventually would like to utilize gem2arch, nodejs-npm2aur etc to take on even more responsibility to ensure that Arch Linux is the home of language library usability awesomeness. Even though I don't like the Python paradigm, I can not be ignorant to the fact that people use it; even if it makes me sad to know people are using it. That said, is anyone aware of, or have plans to make, a pypi2aur like utility ? I'm just planning long term right now, until I perfect my Perl PKGBUILD build server, I won't bite off anything more, but eventually that will reach a mature status and my interests will soon change focus for the other languages. -- Thanks, John D Jones III UNIX Zealot; Perl Lover unixgeek1972@gmail.com jnbek1972@gmail.com http://zoelife4u.org/
Am 30.01.2014 04:56, schrieb John D Jones III:
I've been looking, but I haven't yet found a utility like cpan2aur or gem2arch, etc for Python 'eggs' or whatever they're called ;-) I use [...]
You might want to have a look at pip2arch[1], it parses the output of the pypi server to generate the dependencies and such. Which is sometimes a bit problematic/not complete, it would be better to parse the setup.py or something like that (which is not easy to do everytime). I don't know if it suits your needs, but I have used a modified version of it some time ago and it worked for me. It probably needs a bit of love though, for example it does not detect if you have C extensions and always sets arch=('any'). best regards, carstene1ns [1]: https://github.com/bluepeppers/pip2arch
On 30/01/14 00:56, John D Jones III wrote:
I've been looking, but I haven't yet found a utility like cpan2aur or gem2arch, etc for Python 'eggs' or whatever they're called ;-) I use cpan2aur ( well it's underlying module parent ) rather prolifically maintaining my Perl AUR PKGBUILDs, I eventually would like to utilize gem2arch, nodejs-npm2aur etc to take on even more responsibility to ensure that Arch Linux is the home of language library usability awesomeness. Even though I don't like the Python paradigm, I can not be ignorant to the fact that people use it; even if it makes me sad to know people are using it. That said, is anyone aware of, or have plans to make, a pypi2aur like utility ? I'm just planning long term right now, until I perfect my Perl PKGBUILD build server, I won't bite off anything more, but eventually that will reach a mature status and my interests will soon change focus for the other languages.
It really makes us (the world) sad that in 2014 you're still using perl.. :(. Now, for real, don't make comments like that ^, we don't want that kind of wars on our lists, ok?. Back to the point that you asked, I am not really sure but I remember I saw someone that made something like years ago and probably is abbandoned, i will check if I can find something, but python packaging it's more or less mechanical (I'm taking a gamble on the numbers but I think 70%~ of python packages have a similar PKGBUILD structure). Cheers -- Angel Velasquez Arch Linux Developer angvp @ irc.freenode.net http://www.angvp.com.ar
On 01/30/14 05:23, Angel Velásquez wrote:
Now, for real, don't make comments like that ^, we don't want that kind of wars on our lists, ok?.
Ya, I thought about it for a while before sending, I am brutally aware of the danger of such comments; probably one of the most heated topics in the interwebz space; but I digress: I shall muffle my temptation to engage in and/or start such wars. :D I'll have a look at pip2arch to see if it can be leveraged to meet the needs I seek. -- Thanks, John D Jones III UNIX Zealot; Perl Lover unixgeek1972@gmail.com jnbek1972@gmail.com http://zoelife4u.org/
I've been looking, but I haven't yet found a utility like cpan2aur or gem2arch, etc for Python 'eggs' or whatever they're called
The usual term is "package".
participants (4)
-
Angel Velásquez
-
carstene1ns
-
Jeremy Audet
-
John D Jones III