diff options
author | Universebenzene | 2018-12-06 02:30:21 +0800 |
---|---|---|
committer | Universebenzene | 2018-12-06 02:30:21 +0800 |
commit | 71695d8ff07d9a715d8937a27969a9bff6d3731f (patch) | |
tree | 4c10921a69dbd19699e7e7dc93b94008a7611946 | |
parent | d8d2980d3e4302c5c979b1bd84531c67725ca27e (diff) | |
download | aur-71695d8ff07d9a715d8937a27969a9bff6d3731f.tar.gz |
Update patch
-rw-r--r-- | astropy_helpers.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/astropy_helpers.patch b/astropy_helpers.patch index bbaba05d8945..45e27372e3a8 100644 --- a/astropy_helpers.patch +++ b/astropy_helpers.patch @@ -1,11 +1,11 @@ ---- a/astropy_helpers/commands/build_sphinx.py 2017-10-12 03:56:31.000000000 +0800 -+++ b/astropy_helpers/commands/build_sphinx.py 2018-02-06 21:49:54.599865388 +0800 -@@ -126,7 +126,7 @@ +--- a/astropy_helpers/commands/build_sphinx.py 2018-12-05 10:10:37.000000000 +0800 ++++ b/astropy_helpers/commands/build_sphinx.py 2018-12-05 15:15:31.598247890 +0800 +@@ -162,7 +162,7 @@ build_cmd = self.get_finalized_command('build') build_cmd_path = os.path.abspath(build_cmd.build_lib) - ah_importer = pkgutil.get_importer('astropy_helpers') + ah_importer = pkgutil.get_importer('/usr/lib/python3.7/site-packages/astropy_helpers') - ah_path = os.path.abspath(ah_importer.path) - - # Now generate the source for and spawn a new process that runs the + if ah_importer is None: + ah_path = '.' + else: |