public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/polygon/
Date: Sat,  5 Feb 2022 16:51:20 +0000 (UTC)	[thread overview]
Message-ID: <1644079836.b61bde42a9fbddf36c4da4fc43b71f6f63e3ec4c.arthurzam@gentoo> (raw)

commit:     b61bde42a9fbddf36c4da4fc43b71f6f63e3ec4c
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  5 16:09:33 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Feb  5 16:50:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b61bde42

dev-python/polygon: add 3.0.9, ebuild cleanup

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/polygon/Manifest             |  1 +
 dev-python/polygon/polygon-3.0.9.ebuild | 48 +++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/dev-python/polygon/Manifest b/dev-python/polygon/Manifest
index 59f8efa98cc7..7f1bd9af2495 100644
--- a/dev-python/polygon/Manifest
+++ b/dev-python/polygon/Manifest
@@ -1 +1,2 @@
 DIST Polygon3-3.0.7.zip 76193 BLAKE2B 57ef62b6652400be057e8596f705e2112caef09208aafa7e46686f86367181dc078cbfc6ade99af22cce7fc0a76ec1de2995885ba4c11263444ca315029c38d7 SHA512 e30cd8e51ad69a2d76b61a7d92ead4ac352e729093546b965f649866fd9c6a860e3cdcd9fcd7f8cc9f8d7735ccd1128fb5af00b3de89e4efd7128e446a70b33b
+DIST polygon-3.0.9.gh.tar.gz 76241 BLAKE2B cb670e595403a4a927c78bcba61fc7f28eaaae3dc16a36b105fda880f25134e187886579f7e986653f05fe3f6f2d552ac5b23c8be8ba61bcc0ce0fb733692882 SHA512 d6ce104df45666f5321cd3ef1582853b47b681a19238eb9772b7688333815ac4f5d9a5ab0aadc56301c10019e196efc6e6062e856f6ef8872d992ecd406f3b87

diff --git a/dev-python/polygon/polygon-3.0.9.ebuild b/dev-python/polygon/polygon-3.0.9.ebuild
new file mode 100644
index 000000000000..715b75f86713
--- /dev/null
+++ b/dev-python/polygon/polygon-3.0.9.ebuild
@@ -0,0 +1,48 @@
+# 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..10} )
+inherit distutils-r1
+
+# this version is untagged in github, and pypi doesn't has tests
+COMMIT=7b2091f77741fa1d94251979bc4a4f2676b4d2d1
+
+DESCRIPTION="Python package to handle polygonal shapes in 2D"
+HOMEPAGE="https://www.j-raedler.de/projects/polygon/
+	https://github.com/jraedler/Polygon3"
+SRC_URI="
+	https://github.com/jraedler/Polygon3/archive/${COMMIT}.tar.gz
+		-> ${P}.gh.tar.gz"
+S="${WORKDIR}/Polygon3-${COMMIT}"
+
+LICENSE="LGPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="examples"
+
+DOCS=( doc/{Polygon.txt,Polygon.pdf} )
+
+src_prepare() {
+	if use examples; then
+		mkdir examples || die
+		mv doc/{Examples.py,testpoly.gpf} examples || die
+	fi
+
+	distutils-r1_src_prepare
+}
+
+python_test() {
+	"${EPYTHON}" test/Test.py -v || die "Tests failed under ${EPYTHON}"
+}
+
+src_install() {
+	if use examples; then
+		dodoc -r examples
+		docompress -x /usr/share/doc/${PF}/examples
+	fi
+
+	distutils-r1_src_install
+}


             reply	other threads:[~2022-02-05 16:51 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-05 16:51 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-17  8:34 [gentoo-commits] repo/gentoo:master commit in: dev-python/polygon/ Michał Górny
2022-03-17  8:34 Michał Górny
2022-03-16 23:53 Sam James
2022-03-15 13:07 Jakov Smolić
2022-03-15 13:07 Jakov Smolić
2022-02-05 16:51 Arthur Zamarin
2022-01-29 20:43 Michał Górny
2021-01-24  0:10 David Seifert
2020-04-25  9:07 Michał Górny
2020-03-20  9:58 David Seifert
2019-12-27 18:52 David Seifert
2018-02-05 21:55 Michał Górny
2016-11-09 14:04 Pacho Ramos
2016-01-30  9:40 Pacho Ramos
2016-01-23 16:59 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1644079836.b61bde42a9fbddf36c4da4fc43b71f6f63e3ec4c.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox