anntzer / pypi2pkgbuild

A PyPI to PKGBUILD converter.
MIT License
71 stars 6 forks source link

Failed to build PKGBUILD for wheezy.template #6

Closed matedealer closed 7 years ago

matedealer commented 7 years ago

Since wheezy.template seems not to have a pypi normed name the script failed to download with pip.

$./pypi2pkgbuild.py -fv -n wheezy.template
DEBUG:pypi2pkgbuild:Running subprocess:
pkgfile pkgfile >/dev/null
DEBUG:pypi2pkgbuild:Running subprocess from /tmp/tmpuy70ovug:
makepkg
DEBUG:pypi2pkgbuild:Running subprocess:
(shopt -s nocaseglob; pacman -Qo /usr/lib/python3.6/site-packages/wheezy_template-*-info 2>/dev/null) | rev | cut -d' ' -f2,3 | rev
DEBUG:pypi2pkgbuild:Running subprocess:
pacman -Q python-wheezy-template 2>/dev/null
DEBUG:pypi2pkgbuild:Running subprocess:
pkgfile -riv '^/usr/lib/python36/site-packages/wheezy_template-.*py3\.6\.egg-info' | cut -f1 | uniq | cut -d/ -f2
DEBUG:pypi2pkgbuild:Running subprocess:
pkgfile -riv '^/usr/lib/python36/wheezy_template-.*py3\.6\.egg-info' | cut -f1 | uniq | cut -d/ -f2
DEBUG:pypi2pkgbuild:Running subprocess:
pkgfile -l python-wheezy-template 2>/dev/null | grep -Po '(?<=site-packages/)[^-/]*(?=.*.egg-info/?$)'
INFO:pypi2pkgbuild:Packaging python-wheezy-template 0.1.167.
DEBUG:pypi2pkgbuild:Running subprocess:
(shopt -s nocaseglob; pacman -Qo /usr/lib/python3.6/site-packages/pip-*-info 2>/dev/null) | rev | cut -d' ' -f2,3 | rev
DEBUG:pypi2pkgbuild:Running subprocess:
pkgfile -riv '^/usr/lib/python36/site-packages/pip-.*py3\.6\.egg-info' | cut -f1 | uniq | cut -d/ -f2
DEBUG:pypi2pkgbuild:Running subprocess:
pkgfile -riv '^/usr/lib/python36/pip-.*py3\.6\.egg-info' | cut -f1 | uniq | cut -d/ -f2
DEBUG:pypi2pkgbuild:Running subprocess:
pkgfile -l python-pip 2>/dev/null | grep -Po '(?<=site-packages/)[^-/]*(?=.*\.egg-info/?$)'
DEBUG:pypi2pkgbuild:Running subprocess:
pip download --no-deps -d /tmp/tmpmol3t3cl --no-binary=:all: wheezy-template==0.1.167
Collecting wheezy-template==0.1.167
  Could not find a version that satisfies the requirement wheezy-template==0.1.167 (from versions: )
No matching distribution found for wheezy-template==0.1.167
anntzer commented 7 years ago

New commit should have fixed this. Feel free to request a reopen if it still does not work.