summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUniversebenzene2018-02-05 22:30:38 +0800
committerUniversebenzene2018-02-05 22:30:38 +0800
commitbc850ef996ad9498f6d8625a18fd63140f3a3fda (patch)
tree6410bbbd363744379992066713a8f779e37d2232
downloadaur-bc850ef996ad9498f6d8625a18fd63140f3a3fda.tar.gz
Initial import 0.2
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD22
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b883f8f69d5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+# Generated by mksrcinfo v8
+# Mon Feb 5 14:27:36 UTC 2018
+pkgbase = python-regions
+ pkgdesc = Astropy affilated package for region handling
+ pkgver = 0.2
+ pkgrel = 1
+ url = http://astropy-regions.readthedocs.io/en/latest/
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = cython
+ depends = python>=3.4
+ depends = python-numpy>=1.9
+ depends = python-astropy>=1.2
+ optdepends = python-matplotlib>=1.5: Plotting support
+ optdepends = python-shapely: Managing geometric objects
+ optdepends = python-pytest-arraydiff: For testing
+ source = https://files.pythonhosted.org/packages/source/r/regions/regions-0.2.tar.gz
+ md5sums = 48597dc17906e478292040dae2df5596
+
+pkgname = python-regions
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f497e8da3bf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Astro Benzene <universebenzene at sina dot com>
+pkgname=python-regions
+pkgver=0.2
+pkgrel=1
+pkgdesc="Astropy affilated package for region handling"
+arch=('i686' 'x86_64')
+url="http://astropy-regions.readthedocs.io/en/latest/"
+license=('BSD')
+depends=('python>=3.4' 'python-numpy>=1.9' 'python-astropy>=1.2')
+makedepends=('cython')
+optdepends=('python-matplotlib>=1.5: Plotting support'
+ 'python-shapely: Managing geometric objects'
+ 'python-pytest-arraydiff: For testing')
+source=("https://files.pythonhosted.org/packages/source/r/regions/regions-${pkgver}.tar.gz")
+md5sums=('48597dc17906e478292040dae2df5596')
+
+package() {
+ cd ${srcdir}/regions-${pkgver}
+
+ install -D -m644 docs/{*.rst,*.py,*.txt} -t "${pkgdir}/usr/share/doc/${pkgname}"
+ python setup.py install --root=${pkgdir} --prefix=/usr --optimize=1 --use-system-libraries --offline
+}