dev-python/geoalchemy2: initial commit, required for (testing) Flask-Admin
authorTiziano Müller <dev-zero@gentoo.org>
Sun, 6 Nov 2016 11:10:26 +0000 (12:10 +0100)
committerTiziano Müller <dev-zero@gentoo.org>
Sun, 6 Nov 2016 11:23:48 +0000 (12:23 +0100)
Package-Manager: portage-2.3.0

dev-python/geoalchemy2/Manifest [new file with mode: 0644]
dev-python/geoalchemy2/geoalchemy2-0.3.ebuild [new file with mode: 0644]
dev-python/geoalchemy2/metadata.xml [new file with mode: 0644]

diff --git a/dev-python/geoalchemy2/Manifest b/dev-python/geoalchemy2/Manifest
new file mode 100644 (file)
index 0000000..af7253d
--- /dev/null
@@ -0,0 +1 @@
+DIST geoalchemy2-0.3.tar.gz 93256 SHA256 029550f36695b48452907c834cf23ef24390d81e1e59d19bc2ba2de89e9a4835 SHA512 5f94f6459eba1266c3b31b6d0b1f16478c1641a29b3dbe26cfdc3983d3aa5642b075871fb4722e6bccca7d1960ac1d87103351d846a061891f17d407df4867c8 WHIRLPOOL e99361c67b8cb1ad727d20e649e51f898ed6d426eae866464db7460d8ca36fa78fa5fb055d0e63474b38df42d4f7f2492fe162729b1beb5a1ce27ac1891d14d6
diff --git a/dev-python/geoalchemy2/geoalchemy2-0.3.ebuild b/dev-python/geoalchemy2/geoalchemy2-0.3.ebuild
new file mode 100644 (file)
index 0000000..6654abb
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Geospatial extension to SQLAlchemy with PostGIS support"
+HOMEPAGE="http://geoalchemy.org/ http://geoalchemy-2.readthedocs.org"
+SRC_URI="https://github.com/geoalchemy/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+# ^^ tarball on pypi is missing tests
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND=">=dev-python/sqlalchemy-0.8[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       test? (
+               dev-python/shapely[${PYTHON_USEDEP}]
+               dev-python/pytest[${PYTHON_USEDEP}]
+       )"
+
+RESTRICT="test"
+# tests require a running PostgreSQL database
+
+python_test() {
+       py.test tests || die
+}
diff --git a/dev-python/geoalchemy2/metadata.xml b/dev-python/geoalchemy2/metadata.xml
new file mode 100644 (file)
index 0000000..4f16fb1
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="project">
+    <email>python@gentoo.org</email>
+    <name>Python</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="pypi">GeoAlchemy2</remote-id>
+  </upstream>
+</pkgmetadata>