From 1db00cc6e94b90c08090bb5b8c406622946c4ae5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 31 Jan 2019 16:00:27 +0000 Subject: gentoo resync 31.01.2019 --- games-board/pysolfc/Manifest | 2 +- games-board/pysolfc/pysolfc-2.4.0-r1.ebuild | 69 +++++++++++++++++++++++++++++ games-board/pysolfc/pysolfc-2.4.0.ebuild | 69 ----------------------------- 3 files changed, 70 insertions(+), 70 deletions(-) create mode 100644 games-board/pysolfc/pysolfc-2.4.0-r1.ebuild delete mode 100644 games-board/pysolfc/pysolfc-2.4.0.ebuild (limited to 'games-board/pysolfc') diff --git a/games-board/pysolfc/Manifest b/games-board/pysolfc/Manifest index 6eb3f63e63ce..9192d2fae3af 100644 --- a/games-board/pysolfc/Manifest +++ b/games-board/pysolfc/Manifest @@ -7,5 +7,5 @@ DIST pysolfc-2.2.0.tar.gz 4504375 BLAKE2B ea48910d36b704667654292cd4fc2e62bcf259 DIST pysolfc-2.4.0.tar.gz 6788273 BLAKE2B c852ec9912aabc37317f92941fea2c0fb7230467d188ac3a0a8a78b4a4e243bfac8b3d1ddbb03dde136d7518d03cf3fb02b48386e35218ce5891b54049e9c981 SHA512 177edf60797346b763c9da9daf73feae5fb3ef88529227a60e98b68eb6120289cd0cd76b8ca5925b0452cf43298b12acbb16a53872c892d56b71cbcf0fe93e03 EBUILD pysolfc-2.0-r5.ebuild 1447 BLAKE2B 52dbd8f9be1d8946d5b8722ffef214a3f8ba6d15cb4f078be36164f120de1c47f883db8fc55c13526576e8aaafa22b1ab43b1aa1e0c2c1a3d53092be66bad6e4 SHA512 05f48c1db7ea2a2ab19bf30a9cac66289d95af96586d75d481e369391a83f809bd3d008aa9729c1800bbb51a829599b5d6de6d7be543b2c1ed1305a7d7cfd6b5 EBUILD pysolfc-2.2.0.ebuild 1815 BLAKE2B 77f72a385ad1b7afed250236ede43d92c28af7556b9d7800c0de09accc3ee265df4557bf7202b01571e25dacd58a6be49a8afc0f8b9df7a88aaa41adb49fee8c SHA512 518766c0fcc0cccf849046c8d312cbfcf795d2ae2945838e23c00d553bf8d0c10c4d824c8d7354e35cb3b88859a6e0dc78af55514de92f60d43a617493db1479 -EBUILD pysolfc-2.4.0.ebuild 1815 BLAKE2B 77f72a385ad1b7afed250236ede43d92c28af7556b9d7800c0de09accc3ee265df4557bf7202b01571e25dacd58a6be49a8afc0f8b9df7a88aaa41adb49fee8c SHA512 518766c0fcc0cccf849046c8d312cbfcf795d2ae2945838e23c00d553bf8d0c10c4d824c8d7354e35cb3b88859a6e0dc78af55514de92f60d43a617493db1479 +EBUILD pysolfc-2.4.0-r1.ebuild 1825 BLAKE2B a7488487632615898cda6ee8d460414d4e33d24e6e13562ae7054200a3e04e0b58fe49903364edd6002885bf0e9309ca50524b82226023a13f0fd942d0a1f672 SHA512 be5383e7444a0eb60fe3a07877ea171c4037a0173fcc9f0eddcbce9caa730089434d42673831154f1f732870abf48561b532a300237796dc71eea204dc25bd9f MISC metadata.xml 505 BLAKE2B 2ece0bd1f9e531449fc33b4515e89959270d74d6bbf9354a9405ea08cc6c163080a4406c92dd7d158faff445e6d0efd08c48ac52959c3fcc68055560bcf62fc3 SHA512 e7bb917b63c06fd17dd5e863e354ae147bd5aa7ef3f360ec848b3ea20087a092d8b7450cfd7ce1a615a6414d6d618f32b60f299cb5a50f0e852205c3fcf4d136 diff --git a/games-board/pysolfc/pysolfc-2.4.0-r1.ebuild b/games-board/pysolfc/pysolfc-2.4.0-r1.ebuild new file mode 100644 index 000000000000..af1ee2777085 --- /dev/null +++ b/games-board/pysolfc/pysolfc-2.4.0-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_5,3_6} ) +PYTHON_REQ_USE="tk" + +inherit eutils distutils-r1 + +MY_PN=PySolFC + +DESCRIPTION="An exciting collection of more than 1000 solitaire card games" +HOMEPAGE="http://pysolfc.sourceforge.net/" +SRC_URI="https://github.com/shlomif/${MY_PN}/archive/${P}.tar.gz + extra-cardsets? ( mirror://sourceforge/${PN}/archive/${P}/${MY_PN}-Cardsets-2.0.tar.bz2 )" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="extra-cardsets minimal +sound" + +S=${WORKDIR}/${MY_PN}-${P} + +DEPEND="dev-python/six" +RDEPEND="${DEPEND} + python_targets_python3_5? ( dev-python/random2[python_targets_python3_5] ) + python_targets_python3_6? ( dev-python/random2[python_targets_python3_6] ) + !minimal? ( dev-python/pillow[tk,${PYTHON_USEDEP}] + dev-tcltk/tktable ) + sound? ( dev-python/pygame[${PYTHON_USEDEP}] )" + +PATCHES=( + "${FILESDIR}/${PN}-gentoo.patch" #591904 + "${FILESDIR}/${PN}-locales.patch" +) + +python_prepare_all() { + sed -i \ + -e "/pysol.desktop/d" \ + -e "s:share/icons:share/pixmaps:" \ + -e "s:data_dir =.*:data_dir = \'/usr/share/${PN}\':" \ + setup.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + pushd html-src > /dev/null || die "html-src not found" + PYTHONPATH=.. "${EPYTHON}" gen-html.py || die "gen-html failed" + mv images html/ || die "mv images failed" + popd > /dev/null +} + +python_install_all() { + make_desktop_entry pysol.py "PySol Fan Club Edition" pysol02 + + if use extra-cardsets; then + insinto /usr/share/${PN} + doins -r "${WORKDIR}"/${MY_PN}-Cardsets-2.0/* + fi + + dosym /usr/share/doc/${PF}/html /usr/share/${PN}/html + + doman docs/*.6 + DOCS=( README.md AUTHORS docs/README docs/README.SOURCE ) + HTML_DOCS=( html-src/html/. ) + distutils-r1_python_install_all +} diff --git a/games-board/pysolfc/pysolfc-2.4.0.ebuild b/games-board/pysolfc/pysolfc-2.4.0.ebuild deleted file mode 100644 index 874ce3fcf38b..000000000000 --- a/games-board/pysolfc/pysolfc-2.4.0.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{2_7,3_5,3_6} ) -PYTHON_REQ_USE="tk" - -inherit eutils distutils-r1 - -MY_PN=PySolFC - -DESCRIPTION="An exciting collection of more than 1000 solitaire card games" -HOMEPAGE="http://pysolfc.sourceforge.net/" -SRC_URI="https://github.com/shlomif/${MY_PN}/archive/${P}.tar.gz - extra-cardsets? ( mirror://sourceforge/${PN}/archive/${P}/${MY_PN}-Cardsets-2.0.tar.bz2 )" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="extra-cardsets minimal +sound" - -S=${WORKDIR}/${MY_PN}-${P} - -DEPEND="" -RDEPEND="${RDEPEND} - python_targets_python3_5? ( dev-python/random2[python_targets_python3_5] ) - python_targets_python3_6? ( dev-python/random2[python_targets_python3_6] ) - !minimal? ( dev-python/pillow[tk,${PYTHON_USEDEP}] - dev-tcltk/tktable ) - sound? ( dev-python/pygame[${PYTHON_USEDEP}] )" - -PATCHES=( - "${FILESDIR}/${PN}-gentoo.patch" #591904 - "${FILESDIR}/${PN}-locales.patch" -) - -python_prepare_all() { - sed -i \ - -e "/pysol.desktop/d" \ - -e "s:share/icons:share/pixmaps:" \ - -e "s:data_dir =.*:data_dir = \'/usr/share/${PN}\':" \ - setup.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - pushd html-src > /dev/null || die "html-src not found" - PYTHONPATH=.. "${EPYTHON}" gen-html.py || die "gen-html failed" - mv images html/ || die "mv images failed" - popd > /dev/null -} - -python_install_all() { - make_desktop_entry pysol.py "PySol Fan Club Edition" pysol02 - - if use extra-cardsets; then - insinto /usr/share/${PN} - doins -r "${WORKDIR}"/${MY_PN}-Cardsets-2.0/* - fi - - dosym /usr/share/doc/${PF}/html /usr/share/${PN}/html - - doman docs/*.6 - DOCS=( README.md AUTHORS docs/README docs/README.SOURCE ) - HTML_DOCS=( html-src/html/. ) - distutils-r1_python_install_all -} -- cgit v1.2.3