Thank you for the patch. I think it is better to split into two astropy-helpers source packages for python and python2 and define different paths. Please let me know if the current PKGBUILD works for you.
Search Criteria
Package Details: python-astropy-helpers 4.0.1-8
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-astropy-helpers.git (read-only, click to copy) |
---|---|
Package Base: | python-astropy-helpers |
Description: | Utilities used for building the Astropy python library for astronomy |
Upstream URL: | https://astropy-helpers.readthedocs.io/ |
Licenses: | BSD-3-Clause |
Submitter: | gypaetus |
Maintainer: | gypaetus (Universebenzene) |
Last Packager: | Universebenzene |
Votes: | 7 |
Popularity: | 0.000000 |
First Submitted: | 2014-08-27 20:13 (UTC) |
Last Updated: | 2024-03-09 12:27 (UTC) |
Dependencies (5)
- python-build (make)
- python-installer (python-installer-gitAUR) (make)
- python-setuptools (make)
- python-wheel (make)
- python-astropy-helpers-docAUR (python-astropy-helpers31-docAUR) (optional) – Documentation for Astropy helpers
Required by (6)
- python-astropy-helpers-doc (make)
- python-astroquery-git (make)
- python-hips (make)
- python-hips-doc (make)
- python-sbpy (make)
- python-speclite
Sources (2)
Latest Comments
« First ‹ Previous 1 2
gypaetus commented on 2018-02-06 16:09 (UTC)
Universebenzene commented on 2018-02-06 14:29 (UTC) (edited on 2018-02-06 14:31 (UTC) by Universebenzene)
While using this build of astropy_helpers to build docs for some Astropy Affiliated Packages, it would get an error:
File "/usr/lib/python3.6/site-packages/astropy_helpers/commands/build_sphinx.py", line 130, in run
ah_path = os.path.abspath(ah_importer.path)
AttributeError: 'NoneType' object has no attribute 'path'
One way to fix that is to edit the file mentioned above like this patch: http://fars.ee/tGcG
For python2 version it should be '/usr/lib/python2.7/site-packages/astropy_helpers' instead of python3.6.
However your PKGBUILD describes a split package, so it might not be easy to fix that, as you need to edit the source differently for different package...Do you have any idea for this?
Pinned Comments
Universebenzene commented on 2019-06-12 15:11 (UTC) (edited on 2019-06-12 15:12 (UTC) by Universebenzene)
Some of the astropy affiliated packages can't build with astropy_helpers 3.2 right now. If you meet some errors like
No such file or directory: '... astropy_helpers/commands/src/compiler.c'
, please use https://aur.archlinux.org/packages/python-astropy-helpers31/ instead.