mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-python/polygon: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST Polygon3-3.0.7.zip 76193 BLAKE2B 57ef62b6652400be057e8596f705e2112caef09208aafa7e46686f86367181dc078cbfc6ade99af22cce7fc0a76ec1de2995885ba4c11263444ca315029c38d7 SHA512 e30cd8e51ad69a2d76b61a7d92ead4ac352e729093546b965f649866fd9c6a860e3cdcd9fcd7f8cc9f8d7735ccd1128fb5af00b3de89e4efd7128e446a70b33b
|
||||
DIST polygon-3.0.9.gh.tar.gz 76241 BLAKE2B cb670e595403a4a927c78bcba61fc7f28eaaae3dc16a36b105fda880f25134e187886579f7e986653f05fe3f6f2d552ac5b23c8be8ba61bcc0ce0fb733692882 SHA512 d6ce104df45666f5321cd3ef1582853b47b681a19238eb9772b7688333815ac4f5d9a5ab0aadc56301c10019e196efc6e6062e856f6ef8872d992ecd406f3b87
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python package to handle polygonal shapes in 2D"
|
||||
HOMEPAGE="https://www.j-raedler.de/projects/polygon/"
|
||||
SRC_URI="https://www.bitbucket.org/jraedler/${PN}3/downloads/Polygon3-${PV}.zip"
|
||||
S="${WORKDIR}/Polygon3-${PV}"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="3"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
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() {
|
||||
"${EPYTHON}" test/Test.py -v || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=no
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python package to handle polygonal shapes in 2D"
|
||||
HOMEPAGE="https://www.j-raedler.de/projects/polygon/"
|
||||
SRC_URI="https://www.bitbucket.org/jraedler/${PN}3/downloads/Polygon3-${PV}.zip"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="3"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="examples"
|
||||
|
||||
BDEPEND="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() {
|
||||
"${EPYTHON}" test/Test.py -v || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
Reference in New Issue
Block a user