From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C5435138334 for ; Wed, 25 Dec 2019 19:30:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F04AFE0B1D; Wed, 25 Dec 2019 19:30:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C6E7FE0B1D for ; Wed, 25 Dec 2019 19:30:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4F62C34DB57 for ; Wed, 25 Dec 2019 19:30:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5147435 for ; Wed, 25 Dec 2019 19:30:29 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1577302222.260131c02f7f225d10eac375403ba05bb9e1d4d7.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/angrydd/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-puzzle/angrydd/Manifest games-puzzle/angrydd/angrydd-1.0.1_p13.ebuild X-VCS-Directories: games-puzzle/angrydd/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 260131c02f7f225d10eac375403ba05bb9e1d4d7 X-VCS-Branch: master Date: Wed, 25 Dec 2019 19:30:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d06a37c4-5122-4bfe-bc6f-94b1a722e8dd X-Archives-Hash: 355385244b4b58dd10c50174071ace00 commit: 260131c02f7f225d10eac375403ba05bb9e1d4d7 Author: Pacho Ramos gentoo org> AuthorDate: Wed Dec 25 19:07:25 2019 +0000 Commit: Pacho Ramos gentoo 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 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" +}