diff options
author | Vadim A. Misbakh-Soloviov <git@mva.name> | 2017-02-26 18:17:47 +0700 |
---|---|---|
committer | Vadim A. Misbakh-Soloviov <git@mva.name> | 2017-02-26 18:17:47 +0700 |
commit | be5d3cdcd1f360dc65d54d7e1e44d32524229d51 (patch) | |
tree | 4c004febc2117d2cd549f190b4a57a2061338cc5 /games-strategy | |
parent | use.local.desc: update useflags; fmod: added (diff) | |
download | gamerlay-be5d3cdcd1f360dc65d54d7e1e44d32524229d51.tar.gz gamerlay-be5d3cdcd1f360dc65d54d7e1e44d32524229d51.tar.bz2 gamerlay-be5d3cdcd1f360dc65d54d7e1e44d32524229d51.zip |
unknown-horizons (and deps): bump. Fixes bugs #609854 and #610186 on Gentoo BZ
Diffstat (limited to 'games-strategy')
8 files changed, 92 insertions, 256 deletions
diff --git a/games-strategy/unknown-horizons/Manifest b/games-strategy/unknown-horizons/Manifest index 5f0d8fa..9c3ecee 100644 --- a/games-strategy/unknown-horizons/Manifest +++ b/games-strategy/unknown-horizons/Manifest @@ -1,5 +1 @@ -DIST 2013.3.tar.gz 152988408 SHA256 db9ffe365aa0be95bb808891573d4a135db980ba5a2316f1cf9a30e6505a638e SHA512 d30d4d4f077e9ad6926b2e751bad0d8bd4dca5e5760ae6d948db04f5c1a475283de016562f06c0e3afcade3444fbd4b943996dd58cb91ac0bc1ef37176de13f4 WHIRLPOOL 18930b0064030abe0552d0cb8b6f903a94983f8e468bde8cae20621148c08e4ea34d8ad12ca97d0dab741dbe177742af22759ca544087b69df848b5c0539da90 -DIST unknown-horizons-2011.1a.tar.xz 64190668 SHA256 0d8adce00c144acc0b3bf73839f9dbfe84537f0465c384f1606feebc28896450 -DIST unknown-horizons-2011.2.tar.xz 71843004 SHA256 f64bc787c6094f420a4d7a5f3181fd24d395034a8b2ccbea6799e7cb1ab06092 -DIST unknown-horizons-2011.3-source.tar.bz2 78490453 SHA256 16a9fdbb60707f1d3e225795100f7fc061f6b7ce12656ad74ebc615b162a0ac7 -DIST unknown-horizons-2012.1.tar.xz 96318876 SHA256 109fd61026491c7c259cc552dd2c1ac90214bde42eab7cbc736009396abb870a SHA512 e0a0531cd92ecce9b0055308630dfdc9413036e3908b2fe101666ec3fef27ff220f84859f38c101361c86e9e3e142c3a87af1d33d0c93d1d9c944b8643dc08d8 WHIRLPOOL 16d70b2a6f69229c59584215b681422429049e00cb85da6d26ed6498438ef8a52d6ac36f2e7fd16f4c937483defea150bf77358695e7b682a0c7d7cb8864aa20 +DIST unknown-horizons-2017.2.tar.gz 266301027 SHA256 ebd7d7af1c59dfebb8e28626d8b484b05ec2166f7a90e9266350a4dbd242ec09 SHA512 73cd0dc6db06a8cce9d9851b60d5b9718f731d453f69fe96e1152733a04c14f0e970fc7a7222de2b785b8111757a1c45cdd17f43e97abba3f5b1e3d196bcc01a WHIRLPOOL b20df66962b5c54303dea0bf44e9357196f9eebcaa48034c929f1dc3ba5e6f25ffa2ab2ee29fb7de1b34052a0cceb8459b234fafa5aa08c2cbddf3595d117e33 diff --git a/games-strategy/unknown-horizons/unknown-horizons-2011.1a.ebuild b/games-strategy/unknown-horizons/unknown-horizons-2011.1a.ebuild deleted file mode 100644 index 3bb60a3..0000000 --- a/games-strategy/unknown-horizons/unknown-horizons-2011.1a.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="3" - -PYTHON_DEPEND="2:2.7" -PYTHON_USE_WITH="sqlite" - -inherit distutils games -DESCRIPTION="Anno-like real time strategy game" -HOMEPAGE="http://www.unknown-horizons.org/" - -SRC_URI="mirror://sourceforge/unknownhorizons/${P}.tar.xz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -SLOT="0" -IUSE="" - -DEPEND="dev-python/pyyaml - =games-engines/fife-0.3.2.2 - dev-python/python-distutils-extra" - -RDEPEND="$DEPEND" - -S="${WORKDIR}"/${PN} - -src_compile() { - distutils_src_compile build_i18n -} - -src_install() { - # FIXME: exe and data-files goes into wrong place, games.gentoo.org policy - # violation - distutils_src_install - prepgamesdirs -} diff --git a/games-strategy/unknown-horizons/unknown-horizons-2011.2.ebuild b/games-strategy/unknown-horizons/unknown-horizons-2011.2.ebuild deleted file mode 100644 index 3bb60a3..0000000 --- a/games-strategy/unknown-horizons/unknown-horizons-2011.2.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="3" - -PYTHON_DEPEND="2:2.7" -PYTHON_USE_WITH="sqlite" - -inherit distutils games -DESCRIPTION="Anno-like real time strategy game" -HOMEPAGE="http://www.unknown-horizons.org/" - -SRC_URI="mirror://sourceforge/unknownhorizons/${P}.tar.xz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -SLOT="0" -IUSE="" - -DEPEND="dev-python/pyyaml - =games-engines/fife-0.3.2.2 - dev-python/python-distutils-extra" - -RDEPEND="$DEPEND" - -S="${WORKDIR}"/${PN} - -src_compile() { - distutils_src_compile build_i18n -} - -src_install() { - # FIXME: exe and data-files goes into wrong place, games.gentoo.org policy - # violation - distutils_src_install - prepgamesdirs -} diff --git a/games-strategy/unknown-horizons/unknown-horizons-2011.3.ebuild b/games-strategy/unknown-horizons/unknown-horizons-2011.3.ebuild deleted file mode 100644 index f73d0c3..0000000 --- a/games-strategy/unknown-horizons/unknown-horizons-2011.3.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="3" - -PYTHON_DEPEND="2:2.7" -PYTHON_USE_WITH="sqlite berkdb" - -inherit distutils games -DESCRIPTION="Anno-like real time strategy game" -HOMEPAGE="http://www.unknown-horizons.org/" - -SRC_URI="mirror://sourceforge/unknownhorizons/${P}-source.tar.bz2" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -SLOT="0" -IUSE="" - -DEPEND="dev-python/pyyaml - =games-engines/fife-0.3.3-r2" - -RDEPEND="$DEPEND" - -S="${WORKDIR}"/${PN} - -src_compile() { - distutils_src_compile build_i18n -} - -src_install() { - # FIXME: exe and data-files goes into wrong place, games.gentoo.org policy - # violation - distutils_src_install - prepgamesdirs -} diff --git a/games-strategy/unknown-horizons/unknown-horizons-2012.1.ebuild b/games-strategy/unknown-horizons/unknown-horizons-2012.1.ebuild deleted file mode 100644 index e2e73a5..0000000 --- a/games-strategy/unknown-horizons/unknown-horizons-2012.1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="4" - -PYTHON_DEPEND="2:2.7" -RESTRICT_PYTHON_ABIS="3.*" - -PYTHON_USE_WITH="sqlite" - -inherit python games distutils - -DESCRIPTION="Anno-like real time strategy game" -HOMEPAGE="http://www.unknown-horizons.org/" - -SRC_URI="mirror://sourceforge/unknownhorizons/${P}.tar.xz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -SLOT="0" -IUSE="" - -DEPEND="dev-python/pyyaml - dev-python/bsddb3 - =games-engines/fife-0.3.3-r3" - -RDEPEND="$DEPEND" - -S="${WORKDIR}"/${PN} - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup - games_pkg_setup -} - -src_compile() { - distutils_src_compile build_i18n -} - -src_prepare() { - # make sure version two is started for startup scripts - python_convert_shebangs -r 2 . -} - -src_install() { - distutils_src_install - # fix install paths to Gentoo specific locations - insinto "${GAMES_DATADIR}/${PN}" - doins -r content || die "doins failed" - rm -rf "${D}/usr/share/${PN}/content" - dogamesbin "${D}/usr/bin/${PN}" || die "dogamesbin failed" - rm -rf "${D}/usr/bin/" - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - distutils_pkg_postinst -} diff --git a/games-strategy/unknown-horizons/unknown-horizons-2013.3.ebuild b/games-strategy/unknown-horizons/unknown-horizons-2013.3.ebuild deleted file mode 100644 index f69a564..0000000 --- a/games-strategy/unknown-horizons/unknown-horizons-2013.3.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -PYTHON_DEPEND="2:2.7" -RESTRICT_PYTHON_ABIS="3.*" - -PYTHON_USE_WITH="sqlite" - -inherit python games distutils - -DESCRIPTION="Anno-like real time strategy game" -HOMEPAGE="http://www.unknown-horizons.org/" -SRC_URI="http://github.com/unknown-horizons/unknown-horizons/archive/${PV}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -SLOT="0" -IUSE="" - -DEPEND="dev-python/pyyaml - dev-python/bsddb3 - >=games-engines/fife-0.3.5" - -RDEPEND="$DEPEND" - -#S="${WORKDIR}"/${PN} - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup - games_pkg_setup -} - -src_compile() { - distutils_src_compile build_i18n -} - -src_prepare() { - # make sure version two is started for startup scripts - python_convert_shebangs -r 2 . -} - -src_install() { - distutils_src_install - # fix install paths to Gentoo specific locations - insinto "${GAMES_DATADIR}/${PN}" - doins -r content || die "doins failed" - rm -rf "${D}/usr/share/${PN}/content" - dogamesbin "${D}/usr/bin/${PN}" || die "dogamesbin failed" - rm -rf "${D}/usr/bin/" - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - distutils_pkg_postinst -} diff --git a/games-strategy/unknown-horizons/unknown-horizons-2017.2.ebuild b/games-strategy/unknown-horizons/unknown-horizons-2017.2.ebuild new file mode 100644 index 0000000..fc07388 --- /dev/null +++ b/games-strategy/unknown-horizons/unknown-horizons-2017.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 pypy ) +DISTUTILS_SINGLE_IMPL=1 +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +DESCRIPTION="Anno-like real time strategy game" +HOMEPAGE="http://www.unknown-horizons.org/" +SRC_URI="http://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="test" + +DEPEND=" + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + test? ( + dev-python/greenlet[${PYTHON_USEDEP}] + dev-python/polib[${PYTHON_USEDEP}] + dev-python/isort[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pycodestyle[${PYTHON_USEDEP}] + ) + games-engines/fifengine[${PYTHON_USEDEP}] + games-engines/fifechan + ${PYTHON_DEPS} +" + +RDEPEND="$DEPEND" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_test() { + ${PYTHON} ./run_tests.py +} + +src_compile() { + distutils-r1_src_compile build_i18n +} + +src_install() { + distutils-r1_src_install +} diff --git a/games-strategy/unknown-horizons/unknown-horizons-9999.ebuild b/games-strategy/unknown-horizons/unknown-horizons-9999.ebuild index d742ab1..63cc011 100644 --- a/games-strategy/unknown-horizons/unknown-horizons-9999.ebuild +++ b/games-strategy/unknown-horizons/unknown-horizons-9999.ebuild @@ -1,30 +1,52 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: $ -EAPI="3" +EAPI=6 -PYTHON_DEPEND="2:2.7" -PYTHON_USE_WITH="sqlite" +PYTHON_COMPAT=( python2_7 pypy ) +DISTUTILS_SINGLE_IMPL=1 +PYTHON_REQ_USE="sqlite" -inherit git-2 distutils python +inherit distutils-r1 git-r3 DESCRIPTION="Anno-like real time strategy game" -HOMEPAGE="http://unknown-horizons.org/" - -EGIT_REPO_URI="git://github.com/unknown-horizons/unknown-horizons.git" - -SRC_URI="" +HOMEPAGE="http://www.unknown-horizons.org/" +EGIT_REPO_URI="http://github.com/${PN}/${PN}" LICENSE="GPL-2" -KEYWORDS="" +KEYWORDS="~amd64 ~x86" SLOT="0" -IUSE="" +IUSE="test" DEPEND=" - dev-python/bsddb3 - =games-engines/fife-9999 - dev-python/pyyaml - dev-python/python-distutils-extra + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + test? ( + dev-python/greenlet[${PYTHON_USEDEP}] + dev-python/polib[${PYTHON_USEDEP}] + dev-python/isort[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pycodestyle[${PYTHON_USEDEP}] + ) + games-engines/fifengine[${PYTHON_USEDEP}] + games-engines/fifechan + ${PYTHON_DEPS} " + RDEPEND="$DEPEND" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_test() { + ${PYTHON} ./run_tests.py +} + +src_compile() { + distutils-r1_src_compile build_i18n +} + +src_install() { + distutils-r1_src_install +} |