summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-01-04 21:49:17 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-01-04 21:49:17 +0000
commitd991a4d5ded958969db9c7b6480ab3563d3c25eb (patch)
tree4e8ba3b664a8227d3436ac02589b57bc58b2f0c6 /dev-python
parentVersion bump #397695. (diff)
downloadgentoo-2-d991a4d5ded958969db9c7b6480ab3563d3c25eb.tar.gz
gentoo-2-d991a4d5ded958969db9c7b6480ab3563d3c25eb.tar.bz2
gentoo-2-d991a4d5ded958969db9c7b6480ab3563d3c25eb.zip
Initial import
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/polygon/ChangeLog11
-rw-r--r--dev-python/polygon/Manifest6
-rw-r--r--dev-python/polygon/metadata.xml10
-rw-r--r--dev-python/polygon/polygon-2.0.4.ebuild37
-rw-r--r--dev-python/polygon/polygon-3.0.4.ebuild37
5 files changed, 101 insertions, 0 deletions
diff --git a/dev-python/polygon/ChangeLog b/dev-python/polygon/ChangeLog
new file mode 100644
index 000000000000..b10065a3b7e9
--- /dev/null
+++ b/dev-python/polygon/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-python/polygon
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/polygon/ChangeLog,v 1.1 2012/01/04 21:49:17 bicatali Exp $
+
+*polygon-3.0.4 (04 Jan 2012)
+*polygon-2.0.4 (04 Jan 2012)
+
+ 04 Jan 2012; Sébastien Fabbro <bicatali@gentoo.org> +polygon-2.0.4.ebuild,
+ +polygon-3.0.4.ebuild, +metadata.xml:
+ Initial import
+
diff --git a/dev-python/polygon/Manifest b/dev-python/polygon/Manifest
new file mode 100644
index 000000000000..9290033e46d8
--- /dev/null
+++ b/dev-python/polygon/Manifest
@@ -0,0 +1,6 @@
+DIST Polygon-2.0.4.zip 73544 RMD160 dfb26325998f3e8b44ac36f6ef2c0be30b8d9fd9 SHA1 aa734572c911c0ddb4b39d1bf21f8ecbfa3685c8 SHA256 a9a85d81cc9faabba398001b1e9d32444e98147ac6e31cbdc5ef512c4f7c43dd
+DIST Polygon-3.0.4a-src.zip 163024 RMD160 be1fca82612a7f70d0da70a217b1b7ec4c9a1c9a SHA1 5030b2c687b2d5b70437d6d5fc341fac818c99dd SHA256 2ebef747544660a17a4aefc5a5a8429b6c64af8e0044130f98ed241b48e8fd9d
+EBUILD polygon-2.0.4.ebuild 756 RMD160 7e6415cc7492e537af0a9f1cfd4e8051d148254f SHA1 f608174bd188361a335bd8d507bd1297d623deb2 SHA256 66f92d337a3477125251a851119bab684fbe94b41ec26784bb739a9a4b24988f
+EBUILD polygon-3.0.4.ebuild 760 RMD160 80e8e8369438d007a8239eb3d7e2849b7d267161 SHA1 326a800a84aa4f0e202e9cdeec61b68d8ac23428 SHA256 98bd6a610e71a1011382693e12692bf8e8fadd4d23fed749417993ca7affc051
+MISC ChangeLog 314 RMD160 26768b2e01959e16358fb88cde933f14118d48ff SHA1 a25594415cc517290c450ce45ba64b78b79925f9 SHA256 99f7bded74d2db466b958aa75fec712e30bc1cf36c39775a874e21ecce7f75cb
+MISC metadata.xml 417 RMD160 8adacb5edc99072df7ec8f3efa4e8033f8cfbe05 SHA1 3bb4dfcd22e5270bd6f151bea79f1d13a1692345 SHA256 6bcbb5801c689f8b955aa4732e134863f86982df231864b8af04aa3503ae12d2
diff --git a/dev-python/polygon/metadata.xml b/dev-python/polygon/metadata.xml
new file mode 100644
index 000000000000..9754f81c78b5
--- /dev/null
+++ b/dev-python/polygon/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>python</herd>
+<longdescription lang="en">
+ Polygon is a python package that handles polygonal shapes in 2D. It contains
+ Python bindings for gpc, the General Polygon Clipping Library by
+ Alan Murta and some extensions written in C and pure Python.
+</longdescription>
+</pkgmetadata>
diff --git a/dev-python/polygon/polygon-2.0.4.ebuild b/dev-python/polygon/polygon-2.0.4.ebuild
new file mode 100644
index 000000000000..4dd99fd94097
--- /dev/null
+++ b/dev-python/polygon/polygon-2.0.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/polygon/polygon-2.0.4.ebuild,v 1.1 2012/01/04 21:49:17 bicatali Exp $
+
+EAPI=3
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils
+
+DESCRIPTION="Python package to handle polygonal shapes in 2D"
+HOMEPAGE="http://www.j-raedler.de/projects/polygon/"
+SRC_URI="https://github.com/downloads/jraedler/Polygon2/Polygon-${PV}.zip"
+
+LICENSE="LGPL-2"
+SLOT="2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}/Polygon-${PV}"
+
+src_test() {
+ testing() {
+ PYTHONPATH="$(dir -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" test/Test.py
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+ dodoc HISTORY doc/Polygon.txt
+}
diff --git a/dev-python/polygon/polygon-3.0.4.ebuild b/dev-python/polygon/polygon-3.0.4.ebuild
new file mode 100644
index 000000000000..ca5cdaf8c2fc
--- /dev/null
+++ b/dev-python/polygon/polygon-3.0.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/polygon/polygon-3.0.4.ebuild,v 1.1 2012/01/04 21:49:17 bicatali Exp $
+
+EAPI=3
+PYTHON_DEPEND="3"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.*"
+
+inherit distutils
+
+DESCRIPTION="Python package to handle polygonal shapes in 2D"
+HOMEPAGE="http://www.j-raedler.de/projects/polygon"
+SRC_URI="https://github.com/downloads/jraedler/Polygon3/Polygon-${PV}a-src.zip"
+
+LICENSE="LGPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}/Polygon-${PV}"
+
+src_test() {
+ testing() {
+ PYTHONPATH="$(dir -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" test/Test.py
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+ dodoc HISTORY doc/Polygon.txt
+}