public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/angrydd/
Date: Wed, 25 Dec 2019 19:30:29 +0000 (UTC)	[thread overview]
Message-ID: <1577302222.260131c02f7f225d10eac375403ba05bb9e1d4d7.pacho@gentoo> (raw)

commit:     260131c02f7f225d10eac375403ba05bb9e1d4d7
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 25 19:07:25 2019 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed Dec 25 19:30:22 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=260131c0

games-puzzle/angrydd: Fixes from Debian, python3 support

Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 games-puzzle/angrydd/Manifest                 |  1 +
 games-puzzle/angrydd/angrydd-1.0.1_p13.ebuild | 54 +++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/games-puzzle/angrydd/Manifest b/games-puzzle/angrydd/Manifest
index 5faf1a793b2..d8398d1cbf6 100644
--- a/games-puzzle/angrydd/Manifest
+++ b/games-puzzle/angrydd/Manifest
@@ -1 +1,2 @@
 DIST angrydd-1.0.1.tar.gz 5331883 BLAKE2B de8a418b881f17e0869d9b8004b6db3cee56c1bb05729a5238f6357d3072ff10afb864252fcb3cef5c90d136ad7c8739afd71b88c932545203f2e9752c5eac81 SHA512 e0901833febcabb6622bb85405189bfaf3c917c3254ce282045d58e8e5b5c6c6565ca0e7c56fe2819e0d3f344df3bb285cca54c360b467d284739673d1aa74f0
+DIST angrydd_1.0.1-13.debian.tar.xz 11940 BLAKE2B d64ae1f878f3dfe4eee9f236ce6869f7ce3d77021a09593240a84860157781ecd776be7a06edbb48d1e340c654c50f4463b76b42049076e9c02b6397988ca9df SHA512 123d593ac7ceff8f6fe5d70442b92e6564f4e6ee668450cb623bbdeb4633cad6e04cf896d93cacc5e11bda08cb61b7c92ce0b99072e6e12b21e023620d12b360

diff --git a/games-puzzle/angrydd/angrydd-1.0.1_p13.ebuild b/games-puzzle/angrydd/angrydd-1.0.1_p13.ebuild
new file mode 100644
index 00000000000..24ba0652762
--- /dev/null
+++ b/games-puzzle/angrydd/angrydd-1.0.1_p13.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit desktop python-single-r1
+
+DESCRIPTION="Angry, Drunken Dwarves, a falling blocks game similar to Puzzle Fighter"
+HOMEPAGE="https://www.sacredchao.net/~piman/angrydd/"
+SRC_URI="
+	https://www.sacredchao.net/~piman/angrydd/${P/_p*}.tar.gz
+	mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-${PV/*_p}.debian.tar.xz
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+RDEPEND="${PYTHON_DEPS}
+	dev-python/pygame[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND=""
+
+S="${WORKDIR}/${P/_p*}"
+
+src_prepare() {
+	default
+	eapply -p1 "${WORKDIR}"/debian/patches/*.patch
+	python_fix_shebang .
+}
+
+src_install() {
+	emake \
+		DESTDIR="${D}" \
+		PREFIX="/usr/share/" \
+		TO="${PN}" \
+		install
+	rm -rf "${ED}/usr/share/games" "${ED}/usr/share/share" || die
+
+	python_optimize "${ED}/usr/share/${PN}"
+
+	dodir /usr/bin
+	dosym "../share/${PN}/angrydd.py" "/usr/bin/${PN}"
+	doman angrydd.6
+	dodoc README TODO HACKING
+
+	doicon angrydd.png
+	make_desktop_entry angrydd "Angry, Drunken Dwarves"
+}


             reply	other threads:[~2019-12-25 19:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-25 19:30 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-05 23:44 [gentoo-commits] repo/gentoo:master commit in: games-puzzle/angrydd/ Ionen Wolkens
2023-01-17  6:03 Ionen Wolkens
2021-11-14  0:45 Ionen Wolkens
2021-05-23 14:09 Sergei Trofimovich
2020-02-09 16:25 Michał Górny
2019-12-27 11:05 Pacho Ramos
2019-12-26 15:38 David Seifert
2019-12-25 19:30 Pacho Ramos
2019-11-07 21:37 James Le Cuirot
2017-08-22 21:41 Michał Górny

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=1577302222.260131c02f7f225d10eac375403ba05bb9e1d4d7.pacho@gentoo \
    --to=pacho@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