summaryrefslogtreecommitdiff
path: root/dev-python/pgzero
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-python/pgzero
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'dev-python/pgzero')
-rw-r--r--dev-python/pgzero/Manifest3
-rw-r--r--dev-python/pgzero/metadata.xml12
-rw-r--r--dev-python/pgzero/pgzero-1.2.1.ebuild33
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/pgzero/Manifest b/dev-python/pgzero/Manifest
new file mode 100644
index 000000000000..4728785a06bf
--- /dev/null
+++ b/dev-python/pgzero/Manifest
@@ -0,0 +1,3 @@
+DIST pgzero-1.2.1.tar.gz 2503205 BLAKE2B 616129da20cc5db67bfe826816bd454a76016d80a155296bbbe8e6febbb48aa2070fac1701b22ce7a522597f85b2e272151828f9dfbac367e33e3e0b35e9d260 SHA512 7988d114f6c037fe5ef4690ded878c63f73589e56fb7f79fa3604a7b4bc8433d75aabb80229159921a3dd6af4e3fe6740520a33f2a6b29aba034a63e6e154c33
+EBUILD pgzero-1.2.1.ebuild 774 BLAKE2B e4e48af9511891a27a59da841392beb6f2e805c2f816efec29329aa7c7ceef5cf87c38c89d3eedb90656cc03223697f37eee6f8384e98593c2a998a103af3926 SHA512 ffe8d8211f8e6b95c65c0965b0d2b64a3c1bceaf228c412cbd66b31a79cd3025c2b2f52e85405abedc102b643cd8965c787a7c33e9d85da32fe16c50be86849e
+MISC metadata.xml 372 BLAKE2B 4d7284f488952b521b4bb6c9ff0334c1ed0e91936d6e735fae3159ea0aa1370b1a49ac4bee94f27264655840b4c145530de800fe13b914dee8a43abacacaa190 SHA512 c6b6cfa798dfea05cac6e57810280d2670694aa206e97ea5be97c15cf55a45c3da1f7c2e743c6a0460fe42c7d04ed9138e09233c3bbc292638d11c4a051158bb
diff --git a/dev-python/pgzero/metadata.xml b/dev-python/pgzero/metadata.xml
new file mode 100644
index 000000000000..a02d5ebaadc5
--- /dev/null
+++ b/dev-python/pgzero/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chewi@gentoo.org</email>
+ <name>James Le Cuirot</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">lordmauve/pgzero</remote-id>
+ <remote-id type="pypi">pgzero</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pgzero/pgzero-1.2.1.ebuild b/dev-python/pgzero/pgzero-1.2.1.ebuild
new file mode 100644
index 000000000000..be6e923f66d1
--- /dev/null
+++ b/dev-python/pgzero/pgzero-1.2.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8,9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+distutils_enable_tests unittest
+
+MY_PV="${PV/_p/.post}"
+MY_P="${PN}-${MY_PV}"
+DESCRIPTION="A zero-boilerplate games programming framework based on Pygame"
+HOMEPAGE="https://pygame-zero.readthedocs.io/"
+SRC_URI="https://github.com/lordmauve/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/pygame[${PYTHON_USEDEP}]
+"
+
+DEPEND="
+ ${RDEPEND}
+"
+
+S="${WORKDIR}/${MY_P}"
+
+# Allow the tests to pass without real audio or video.
+export SDL_AUDIODRIVER=dummy SDL_VIDEODRIVER=dummy