Package Details: python-astropy-helpers 3.1-1

Git Clone URL: (read-only)
Package Base: python-astropy-helpers
Description: Utilities used for building the Astropy python library for astronomy
Upstream URL:
Licenses: BSD
Submitter: migueldvb
Maintainer: migueldvb (Universebenzene)
Last Packager: Universebenzene
Votes: 5
Popularity: 0.280985
First Submitted: 2014-08-27 20:13
Last Updated: 2018-12-05 18:30

Dependencies (1)

Sources (2)

Latest Comments

Universebenzene commented on 2018-11-05 05:59

@o1911 I see. You mean the patch should also be in the source.

o1911 commented on 2018-09-26 06:43

Hi, thanks for the package. Can the following changes be made, to allow for more robust building? Otherwise, a naive build will fail with a custom BUILDDIR specified in /etc/makepkg.conf

[code] -source=("${pkgver}.tar.gz") -md5sums=('0e7b7e284be43946ec74e9f3b59af726') +source=("${pkgver}.tar.gz" + "astropy_helpers.patch") +md5sums=('0e7b7e284be43946ec74e9f3b59af726' + 'd948d609321d1bd7239be90af8e53045')

build() { cd ${srcdir}/astropy-helpers-${pkgver} - patch -p1 -i ../../astropy_helpers.patch + patch -p1 -i ${srcdir}/astropy_helpers.patch [/code]

EDIT: I can't work out how to get the code block to show up nicely!

migueldvb commented on 2018-08-11 23:27

Thanks! The patch is updated for python3.7.

Universebenzene commented on 2018-08-11 17:45

Hi, sorry for the bothering. But the patch need update like this: Hope you will update it ASAP. Thanks

Universebenzene commented on 2018-08-07 02:58

The patch of this package need update for python3.7 (/usr/lib/python3.7 instead of /usr/lib/python3.6).

Universebenzene commented on 2018-02-18 14:43

The python3 version of astropy in AUR has already updated to 3.0. So it might be OK to upgrade this package to 3.0 as well. The patch file alse needs a small change: , as the is slightly different in version 3.0.

BTW, don't upgrade python2-astropy-helpers to version 3.0, as 3.0 is not py2 compatible.

Universebenzene commented on 2018-02-07 02:43

@migueldvb Works well, thanks!

migueldvb commented on 2018-02-06 16:09

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.

Universebenzene commented on 2018-02-06 14:29

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/", 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:

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?