Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/astlib/, dev-python/astlib/files/
Date: Sat, 28 Dec 2019 17:23:32
Message-Id: 1577553803.edfd8a0f140034a527707f21f211b02d0c123e03.zlogene@gentoo
1 commit: edfd8a0f140034a527707f21f211b02d0c123e03
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 28 17:23:23 2019 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 28 17:23:23 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edfd8a0f
7
8 dev-python/astlib: remove last-rited pkg
9
10 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
11
12 dev-python/astlib/Manifest | 1 -
13 dev-python/astlib/astlib-0.8.0.ebuild | 41 ----------------------
14 .../files/astlib-0.8.0-system-wcstools.patch | 33 -----------------
15 dev-python/astlib/metadata.xml | 21 -----------
16 4 files changed, 96 deletions(-)
17
18 diff --git a/dev-python/astlib/Manifest b/dev-python/astlib/Manifest
19 deleted file mode 100644
20 index 3ef54b5866e..00000000000
21 --- a/dev-python/astlib/Manifest
22 +++ /dev/null
23 @@ -1 +0,0 @@
24 -DIST astLib-0.8.0.tar.gz 708939 BLAKE2B c60f1803ac2b488eb24d04b8c8ecbf405299ca9cee0489952a7aef02047cf78db8b7b3f46b00aa26fbdd59ce8035e8612ce0042c912718c03e4e7f1f3914f328 SHA512 44e3903c1353fa69841a28e61e52f9cb7165edfffa2eba17cbf6bfd671ed8e8745cf2364b418a3f012bb56088fa7912ef0b00d8c9d96f7b4ce196881b4b05a31
25
26 diff --git a/dev-python/astlib/astlib-0.8.0.ebuild b/dev-python/astlib/astlib-0.8.0.ebuild
27 deleted file mode 100644
28 index a505ae02946..00000000000
29 --- a/dev-python/astlib/astlib-0.8.0.ebuild
30 +++ /dev/null
31 @@ -1,41 +0,0 @@
32 -# Copyright 1999-2019 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -PYTHON_COMPAT=( python3_{5,6} )
38 -
39 -inherit distutils-r1
40 -
41 -MYPN=astLib
42 -MYP=${MYPN}-${PV}
43 -
44 -DESCRIPTION="Python astronomy modules for image and coordinate manipulation"
45 -HOMEPAGE="http://astlib.sourceforge.net/"
46 -SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz"
47 -
48 -SLOT="0"
49 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
50 -LICENSE="GPL-2 LGPL-2.1"
51 -
52 -IUSE="doc examples"
53 -
54 -PATCHES=( "${FILESDIR}/${P}-system-wcstools.patch" )
55 -
56 -DEPEND="sci-astronomy/wcstools"
57 -RDEPEND="${DEPEND}
58 - dev-python/astropy[${PYTHON_USEDEP}]
59 - dev-python/matplotlib[${PYTHON_USEDEP}]
60 - dev-python/pillow[${PYTHON_USEDEP}]
61 - sci-libs/scipy[${PYTHON_USEDEP}]"
62 -
63 -S="${WORKDIR}/${MYP}"
64 -
65 -python_install_all() {
66 - dodoc CHANGE_LOG RELEASE_NOTES
67 - insinto /usr/share/doc/${PF}/html
68 - use doc && doins -r docs/${MYPN}/*
69 - insinto /usr/share/doc/${PF}
70 - use examples && doins -r examples
71 - distutils-r1_python_install_all
72 -}
73
74 diff --git a/dev-python/astlib/files/astlib-0.8.0-system-wcstools.patch b/dev-python/astlib/files/astlib-0.8.0-system-wcstools.patch
75 deleted file mode 100644
76 index 5b8746fe07d..00000000000
77 --- a/dev-python/astlib/files/astlib-0.8.0-system-wcstools.patch
78 +++ /dev/null
79 @@ -1,33 +0,0 @@
80 -Author: Ole Streicher <olebole@××××××.org>
81 -Description: Use system provided libwcstools instead of local copy
82 - Also, build the swig wrapper from its source file.
83 ---- a/setup.py
84 -+++ b/setup.py
85 -@@ -84,12 +84,11 @@
86 - PyWCSTools is distributed (and developed) as part of astLib.""",
87 - packages=['astLib', 'PyWCSTools'],
88 - package_data={'astLib': ['data/*']},
89 -- cmdclass={"build_ext": build_PyWCSTools_ext},
90 - scripts=exampleScripts,
91 - ext_modules=[
92 -- Extension('PyWCSTools._wcscon', [sourceDir+"wcscon_wrap.c"],
93 -- extra_objects=oFiles),
94 -- Extension('PyWCSTools._wcs', [sourceDir+"wcs_wrap.c"],
95 -- extra_objects=oFiles)
96 -+ Extension('PyWCSTools._wcscon', [sourceDir+"wcscon.i"],
97 -+ swig_opts=['-outdir', 'PyWCSTools/'], libraries=['wcstools']),
98 -+ Extension('PyWCSTools._wcs', [sourceDir+"wcs.i"],
99 -+ swig_opts=['-outdir', 'PyWCSTools/'], libraries=['wcstools'])
100 - ]
101 - )
102 ---- a/PyWCSTools/wcssubs-3.8.7/wcs.i
103 -+++ b/PyWCSTools/wcssubs-3.8.7/wcs.i
104 -@@ -14,7 +14,7 @@
105 - /* %feature("autodoc", "1") */
106 -
107 - %{
108 --#include "wcs.h"
109 -+#include <wcs/wcs.h>
110 - %}
111 -
112 - /* WORKING */
113
114 diff --git a/dev-python/astlib/metadata.xml b/dev-python/astlib/metadata.xml
115 deleted file mode 100644
116 index acde5aed73f..00000000000
117 --- a/dev-python/astlib/metadata.xml
118 +++ /dev/null
119 @@ -1,21 +0,0 @@
120 -<?xml version="1.0" encoding="UTF-8"?>
121 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
122 -<pkgmetadata>
123 - <maintainer type="project">
124 - <email>sci-astronomy@g.o</email>
125 - <name>Gentoo Astronomy Project</name>
126 - </maintainer>
127 - <longdescription lang="en">
128 - astLib is a set of Python modules that provides some tools for
129 - research astronomers. It can be used for simple plots, statistics,
130 - common calculations, coordinate conversions, and manipulating FITS
131 - images with World Coordinate System (WCS) information through
132 - PyWCSTools - a simple wrapping of WCSTools by Doug Mink. PyWCSTools
133 - is distributed (and developed) as part of astLib.
134 - In Gentoo, PyWCSTools is using the stock library instead of the
135 - bundled one.
136 -</longdescription>
137 - <upstream>
138 - <remote-id type="sourceforge">astlib</remote-id>
139 - </upstream>
140 -</pkgmetadata>