summaryrefslogtreecommitdiff
path: root/games-arcade/pydance
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-28 20:02:04 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-28 20:02:04 +0100
commita4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad (patch)
tree852c90a4bf354c30ea66504f70bfab5401fba18d /games-arcade/pydance
parent5e8702bcbbed438e6c6cce023e7ef0cc9baa3e02 (diff)
gentoo resync : 28.04.2018
Diffstat (limited to 'games-arcade/pydance')
-rw-r--r--games-arcade/pydance/Manifest2
-rw-r--r--games-arcade/pydance/pydance-1.1.0-r1.ebuild (renamed from games-arcade/pydance/pydance-1.1.0.ebuild)33
2 files changed, 13 insertions, 22 deletions
diff --git a/games-arcade/pydance/Manifest b/games-arcade/pydance/Manifest
index 00cccb0a56d9..bbc200f97d16 100644
--- a/games-arcade/pydance/Manifest
+++ b/games-arcade/pydance/Manifest
@@ -1,3 +1,3 @@
DIST pydance-1.1.0.tar.gz 8957236 BLAKE2B 57ab896b95a8f653a075e6c7453e8e2adfc8c18e8271fc502667d7643736bfe3a8d62c3ebfbe8e84713ed235bbadff60080fd578f478c61741df881694e1c7d4 SHA512 738787626d83adc635e7e4644f159e3ce793da7b38cf094ffd73cabb088d3414a1aa9deda423784174b2c0381e50dd0d74bbcfb9d939044e85c35866b3818c7d
-EBUILD pydance-1.1.0.ebuild 1193 BLAKE2B 9720c464bd85699ddaac33d974b2931497f34f528cf0865fc6d407a042b67dc552a9464b426c176d867005f727da88da79eb07649af2f7d7aa7a46830500db22 SHA512 de4a2cf57fcc3a00f50cefcd4c4a744daa85da59a9b680ad2e4a742f07a7b8543614676777f4e549d4cb2c0721086f1fd70657236c5df5035a8a08d7c661ac5e
+EBUILD pydance-1.1.0-r1.ebuild 1036 BLAKE2B e2d52e63f679bd9abc2528a128fbae325555b9380c106ea15b3aaa797ce3f66390019c090e59b42ed7d9a889e52add0299497da66f48f50505ac40ec27370525 SHA512 1d0bc2088d06e3ef0669a2376d3876d8bf7ee03ae9f52ad4c7c3064015a0c0b15769bee0023f378e6c7f67ad279eda9b3c01cfc7c6b2fb0cffb53c680f7822f4
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-arcade/pydance/pydance-1.1.0.ebuild b/games-arcade/pydance/pydance-1.1.0-r1.ebuild
index aa64aa98212b..f3d5b1901227 100644
--- a/games-arcade/pydance/pydance-1.1.0.ebuild
+++ b/games-arcade/pydance/pydance-1.1.0-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils games
+EAPI=6
+inherit eutils
-DESCRIPTION="a DDR clone for linux written in Python"
+DESCRIPTION="A DDR clone for linux written in Python"
HOMEPAGE="http://www.icculus.org/pyddr/"
SRC_URI="http://www.icculus.org/pyddr/${P}.tar.gz"
@@ -16,38 +16,29 @@ IUSE=""
DEPEND="dev-python/pygame
media-libs/libvorbis
media-libs/sdl-mixer"
-RDEPEND=${DEPEND}
+RDEPEND="${DEPEND}"
PDEPEND="games-arcade/pydance-songs"
src_prepare() {
- sed -i \
- -e "s:1\.0\.1:1.0.2:" \
- -e "s:/etc/:${GAMES_SYSCONFDIR}/:" \
+ default
+ sed -i -e "s:1\.0\.1:1.0.2:" \
pydance.py constants.py docs/man/pydance.6 || die
+ sed -i -e 's:/usr/share/games/pydance/:/usr/share/pydance/:g' pydance.posix.cfg || die
}
src_install() {
- local dir=${GAMES_DATADIR}/${PN}
+ local dir=/usr/share/${PN}
insinto "${dir}"
doins *.py
cp -R CREDITS {sound,images,utils,themes} "${D}${dir}/" || die
- insinto "${GAMES_SYSCONFDIR}"
+ insinto /etc/
newins pydance.posix.cfg pydance.cfg
- games_make_wrapper pydance "python2 ./pydance.py" "${dir}"
+ make_wrapper pydance "python2 ./pydance.py" "${dir}"
dodoc BUGS CREDITS ChangeLog HACKING README TODO
- dohtml -r docs/manual.html docs/images
+ HTML_DOCS="docs/manual.html docs/images" einstalldocs
doman docs/man/*
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
- echo
- elog "If you want to use a DDR pad with pyDance,"
- elog "all you need to do is emerge the games-arcade/ddrmat kernel module."
- echo
}