+++ /dev/null
-DIST astLib-0.8.0.tar.gz 708939 BLAKE2B c60f1803ac2b488eb24d04b8c8ecbf405299ca9cee0489952a7aef02047cf78db8b7b3f46b00aa26fbdd59ce8035e8612ce0042c912718c03e4e7f1f3914f328 SHA512 44e3903c1353fa69841a28e61e52f9cb7165edfffa2eba17cbf6bfd671ed8e8745cf2364b418a3f012bb56088fa7912ef0b00d8c9d96f7b4ce196881b4b05a31
+++ /dev/null
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{5,6} )
-
-inherit distutils-r1
-
-MYPN=astLib
-MYP=${MYPN}-${PV}
-
-DESCRIPTION="Python astronomy modules for image and coordinate manipulation"
-HOMEPAGE="http://astlib.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-LICENSE="GPL-2 LGPL-2.1"
-
-IUSE="doc examples"
-
-PATCHES=( "${FILESDIR}/${P}-system-wcstools.patch" )
-
-DEPEND="sci-astronomy/wcstools"
-RDEPEND="${DEPEND}
- dev-python/astropy[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- dev-python/pillow[${PYTHON_USEDEP}]
- sci-libs/scipy[${PYTHON_USEDEP}]"
-
-S="${WORKDIR}/${MYP}"
-
-python_install_all() {
- dodoc CHANGE_LOG RELEASE_NOTES
- insinto /usr/share/doc/${PF}/html
- use doc && doins -r docs/${MYPN}/*
- insinto /usr/share/doc/${PF}
- use examples && doins -r examples
- distutils-r1_python_install_all
-}
+++ /dev/null
-Author: Ole Streicher <olebole@debian.org>
-Description: Use system provided libwcstools instead of local copy
- Also, build the swig wrapper from its source file.
---- a/setup.py
-+++ b/setup.py
-@@ -84,12 +84,11 @@
- PyWCSTools is distributed (and developed) as part of astLib.""",
- packages=['astLib', 'PyWCSTools'],
- package_data={'astLib': ['data/*']},
-- cmdclass={"build_ext": build_PyWCSTools_ext},
- scripts=exampleScripts,
- ext_modules=[
-- Extension('PyWCSTools._wcscon', [sourceDir+"wcscon_wrap.c"],
-- extra_objects=oFiles),
-- Extension('PyWCSTools._wcs', [sourceDir+"wcs_wrap.c"],
-- extra_objects=oFiles)
-+ Extension('PyWCSTools._wcscon', [sourceDir+"wcscon.i"],
-+ swig_opts=['-outdir', 'PyWCSTools/'], libraries=['wcstools']),
-+ Extension('PyWCSTools._wcs', [sourceDir+"wcs.i"],
-+ swig_opts=['-outdir', 'PyWCSTools/'], libraries=['wcstools'])
- ]
- )
---- a/PyWCSTools/wcssubs-3.8.7/wcs.i
-+++ b/PyWCSTools/wcssubs-3.8.7/wcs.i
-@@ -14,7 +14,7 @@
- /* %feature("autodoc", "1") */
-
- %{
--#include "wcs.h"
-+#include <wcs/wcs.h>
- %}
-
- /* WORKING */
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci-astronomy@gentoo.org</email>
- <name>Gentoo Astronomy Project</name>
- </maintainer>
- <longdescription lang="en">
- astLib is a set of Python modules that provides some tools for
- research astronomers. It can be used for simple plots, statistics,
- common calculations, coordinate conversions, and manipulating FITS
- images with World Coordinate System (WCS) information through
- PyWCSTools - a simple wrapping of WCSTools by Doug Mink. PyWCSTools
- is distributed (and developed) as part of astLib.
- In Gentoo, PyWCSTools is using the stock library instead of the
- bundled one.
-</longdescription>
- <upstream>
- <remote-id type="sourceforge">astlib</remote-id>
- </upstream>
-</pkgmetadata>