Package Details: pip2pkgbuild 0.3.9-1

Git Clone URL: https://aur.archlinux.org/pip2pkgbuild.git (read-only, click to copy)
Package Base: pip2pkgbuild
Description: Generate PKGBUILD file for a Python module from PyPI
Upstream URL: https://github.com/wenLiangcan/pip2pkgbuild
Keywords: packaging pkgbuild python
Licenses: MIT
Submitter: wenLiangcan
Maintainer: wenLiangcan
Last Packager: wenLiangcan
Votes: 24
Popularity: 0.148820
First Submitted: 2015-09-15 12:49 (UTC)
Last Updated: 2024-02-21 15:50 (UTC)

Latest Comments

1 2 Next › Last »

frankspace commented on 2023-12-16 19:46 (UTC)

Nope. I still need to install python-setuptools. If I don't, I get the following error:

==> Starting build()...
* Getting build dependencies for wheel...

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/pyproject_hooks/_impl.py", line 321, in _call_hook
    raise BackendUnavailable(data.get('traceback', ''))
pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 77, in _build_backend
    obj = import_module(mod_path)
          ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'setuptools'

ERROR Backend 'setuptools.build_meta:__legacy__' is not available.
==> ERROR: A failure occurred in build().
    Aborting...

I may not be understanding this correctly, but it looks as if pip2pkgbuild permits creation of PEP517 PKGBUILDs, not necessarily that it is itself a PEP517 package. According to section 4.2 of the wiki, if there's no pyproject.toml or build-system table, and it has a setup.py file, then it uses setuptools or distutils; and I notice the upstream package does in fact have a setup.py file in it.

wenLiangcan commented on 2023-12-06 12:54 (UTC)

Added python-wheel, according to the wiki only those three packages are required as mkdepends for PEP517 based package. Let me know if you encounter problem without python-setuptools.

frankspace commented on 2023-12-03 18:58 (UTC)

This will not compile in a chroot for me without also explicitly installing python-setuptools and python-wheel. I don't know whether those are dependencies or makedependencies, but would you please consider adding them as some kind of dependencies? Thank you!

jose1711 commented on 2023-11-09 13:16 (UTC)

conflicts with python2-pip2pkgbuild

wenLiangcan commented on 2023-08-14 13:17 (UTC)

Alright, done.

MarsSeed commented on 2023-08-13 02:18 (UTC)

In that case, it would be welcome if you could create a separate PKGBUILD for the Python2 variant.

For those who want to use python-aur-deploy, having to compile and install python2 is an extra and unnecessary burden, wasted time, and additional source of potential build failure.

wenLiangcan commented on 2023-08-13 02:10 (UTC)

That’s an option for users who want to use Python 2. It maybe is not useful for you, but not everyone else.

MarsSeed commented on 2023-08-13 01:01 (UTC)

Please kindly remove the unused python2 subpackage.

evgfilim1 commented on 2019-11-22 03:23 (UTC)

Please bump pkgrel to rebuild package for python3.8

Traceback (most recent call last):
  File "/usr/bin/pip2pkgbuild", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3251, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3234, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3263, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pip2pkgbuild==0.2.6' distribution was not found and is required by the application

wenLiangcan commented on 2019-04-13 08:10 (UTC)

Fixed.