diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/polygon |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/polygon')
-rw-r--r-- | dev-python/polygon/Manifest | 7 | ||||
-rw-r--r-- | dev-python/polygon/metadata.xml | 13 | ||||
-rw-r--r-- | dev-python/polygon/polygon-2.0.6.ebuild | 25 | ||||
-rw-r--r-- | dev-python/polygon/polygon-3.0.7.ebuild | 39 |
4 files changed, 84 insertions, 0 deletions
diff --git a/dev-python/polygon/Manifest b/dev-python/polygon/Manifest new file mode 100644 index 000000000000..a7fe5aa4957e --- /dev/null +++ b/dev-python/polygon/Manifest @@ -0,0 +1,7 @@ +DIST Polygon2-2.0.6.zip 73551 SHA256 3e0e1a5125e892faa5964523de28c0349b573ed102547e12a1affc3fed2cac3b SHA512 d0827fe3299449842e201598b59e423bf3029302037ffb9329dae0045b2be1727eb33951dfd22f560476360836305526be58e55d9d4cff36f3d9a4b0262b7aed WHIRLPOOL 50b176f05ade1780e21f8280d884996f04df3894a8479b5d82b1410cc53961c0faedea1b20b431b0eeb2996619abf91392e4c9291856a63c8b080605f646c67b +DIST Polygon3-3.0.7.zip 76193 SHA256 627852f50fd6002b9a59eef291bb38c075d95e67c47a8d3b32713426ee137744 SHA512 e30cd8e51ad69a2d76b61a7d92ead4ac352e729093546b965f649866fd9c6a860e3cdcd9fcd7f8cc9f8d7735ccd1128fb5af00b3de89e4efd7128e446a70b33b WHIRLPOOL 7123420e402e3cb5034ad3ffaba561a8c250e6788ee6b89ca8376ed6a037a889611afcd34f135b1ee16261e2504a22895c491d91a691e1559628673682e1dead +EBUILD polygon-2.0.6.ebuild 567 SHA256 ff8fdf08607c1486971fff8f90c8249eb4ff90499b7d297cbb91b400143d16bf SHA512 6c8ec101d6007d364a27ff42f49b3fced611316479745b061fc71c5bbbc29028179dbe7594e5b7ca5a6dac4f5e28888f2a7f2fdd9d211898297998ea7e45c876 WHIRLPOOL c7f495c2aaa7511b829d86a6cce8634453caa3f5cd5b00ae559290558528c76b1490b53d74b8b57dab88de4d0f4fa70ed87b80de64d2a63af6c0d089960db119 +EBUILD polygon-3.0.7.ebuild 879 SHA256 bb6b3e1212597a02fdbcbc05f29d6badc1e4c68e80bbc75580907e151d6e37c6 SHA512 9f4b4ba22096857888162455d6e7a11318f035a8ef906450947e43c1cf54cc25291b807db7beabbaa259f5f297955bed21b4f064daec70b0aeeba6c80b1745a0 WHIRLPOOL 877eff028d983288e051064826b3102e0466a9a355e741363f8fac23d73028584f237e5fc6b2e5efcd1cdbcc5becc651b2fe3188e2d0a16c0a100fa37abaa7ef +MISC ChangeLog 3368 SHA256 13316152e1e3e82a1473c4811e6f72eef367286805499980cb67dd6a312e9a1f SHA512 88b03f277bcde42e3f9ff14ab3f4f4569a4c6accaefce5151eab56c0dda9c79f27d1a61eb1b839deaba043e3f93b16c9687a1c2e743453e1acd0e5ddd947fd21 WHIRLPOOL 1308fb65f90d0b886d68fdd9742c1488308ef174ac6741168c2aaa615187776afe05e94035ac85f3b8638f45c22a2d5283b2a4baa8aa0bfe46acb2f9bec455da +MISC ChangeLog-2015 2466 SHA256 147069fa332e6584f83c9fb57e04baceaac64206caa9429841575b7abe31c5f5 SHA512 793561ef08b813bcf414caa22326223cd799a4e17c52e90ae946d8dc8cc6c1193ac9e5d35f9c947d284af060970a5825b87a4c87e30e944e60a904973f5a4a1b WHIRLPOOL c72a6c96103bc01891db709f91499f53fd4f8b973fc95c6dc7c6983fb494c78c27a687f7e4e7fcb12bec2786cca5eada1fe0e3b37b5b7f6b927d659802e7d030 +MISC metadata.xml 494 SHA256 53980d7fd814a3fe55dd4539f7915f44687a76e8d116ec6d293e178e287081d7 SHA512 5f98756dcf5dc6ea48d6d2943e494d5d72e2a0a38a7ef6de582f132d380940538b524e8f56ca59e1cca2d348569b655a68ff27563541b1d48cba98ee36491cb5 WHIRLPOOL d6a01fa361e9eb6453c0dd2970be17370d33ef264e548e4d57b3bf6f24a43be088013bd15399652a98e5b34c66c9651a616b0dcae4a1eb1d652a20e0b7e7b57f diff --git a/dev-python/polygon/metadata.xml b/dev-python/polygon/metadata.xml new file mode 100644 index 000000000000..d9b28381e91d --- /dev/null +++ b/dev-python/polygon/metadata.xml @@ -0,0 +1,13 @@ +<?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> +<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.6.ebuild b/dev-python/polygon/polygon-2.0.6.ebuild new file mode 100644 index 000000000000..1a3a6bbaf25b --- /dev/null +++ b/dev-python/polygon/polygon-2.0.6.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Python package to handle polygonal shapes in 2D" +HOMEPAGE="http://www.j-raedler.de/projects/polygon/" +SRC_URI="https://www.bitbucket.org/jraedler/${PN}2/downloads/Polygon2-${PV}.zip" + +LICENSE="LGPL-2" +SLOT="2" +KEYWORDS="amd64 ppc x86" + +DEPEND="app-arch/unzip" + +S=${WORKDIR}/Polygon2-${PV} + +DOCS=( HISTORY doc/Polygon.txt ) + +python_test() { + ${PYTHON} test/Test.py || die "Tests failed" +} diff --git a/dev-python/polygon/polygon-3.0.7.ebuild b/dev-python/polygon/polygon-3.0.7.ebuild new file mode 100644 index 000000000000..3a694ba4f5c0 --- /dev/null +++ b/dev-python/polygon/polygon-3.0.7.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="Python package to handle polygonal shapes in 2D" +HOMEPAGE="http://www.j-raedler.de/projects/polygon" +SRC_URI="https://www.bitbucket.org/jraedler/${PN}3/downloads/Polygon3-${PV}.zip" + +LICENSE="LGPL-2" +SLOT="3" +IUSE="examples" +KEYWORDS="amd64 ppc x86" + +DEPEND="app-arch/unzip" + +S=${WORKDIR}/Polygon3-${PV} + +DOCS=( doc/{Polygon.txt,Polygon.pdf} ) + +python_prepare_all() { + if use examples; then + mkdir examples || die + mv doc/{Examples.py,testpoly.gpf} examples || die + fi + distutils-r1_python_prepare_all +} + +python_test() { + ${PYTHON} test/Test.py || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} |