2016-02-27 17:41:06 +00:00
|
|
|
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
MY_PN=PySolFC
|
|
|
|
|
2016-05-26 12:24:47 +00:00
|
|
|
require desktop-utils
|
2016-04-22 14:10:55 +00:00
|
|
|
require setup-py [ import=distutils multibuild=false blacklist=3 python_opts="[tk]" ]
|
2018-03-23 17:28:52 +00:00
|
|
|
require sourceforge [ project=pysolfc pnv=${MY_PN}-${PV} suffix=tar.xz ]
|
2016-04-22 14:10:55 +00:00
|
|
|
|
2016-02-27 17:41:06 +00:00
|
|
|
SUMMARY="An exciting collection of more than 1000 solitaire card games"
|
2018-02-02 00:02:48 +00:00
|
|
|
DOWNLOADS+=" mirror://sourceforge/${PN}/${MY_PN}-Cardsets-2.0.tar.bz2"
|
2016-02-27 17:41:06 +00:00
|
|
|
|
|
|
|
LICENCES="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
PLATFORMS="~amd64 ~x86"
|
|
|
|
MYOPTIONS=""
|
|
|
|
|
|
|
|
DEPENDENCIES="
|
|
|
|
run:
|
2016-07-09 23:38:04 +00:00
|
|
|
dev-python/Pillow[python_abis:*(-)?]
|
2016-02-27 17:41:06 +00:00
|
|
|
dev-python/pygame[python_abis:*(-)?]
|
2018-02-02 00:02:48 +00:00
|
|
|
dev-python/random2[python_abis:*(-)?]
|
2016-02-27 17:41:06 +00:00
|
|
|
dev-tcl/tktable
|
|
|
|
"
|
|
|
|
|
|
|
|
WORK=${WORKBASE}/${MY_PN}-${PV}
|
|
|
|
|
|
|
|
src_prepare() {
|
2016-02-28 23:05:15 +00:00
|
|
|
setup-py_src_prepare
|
2016-02-27 17:41:06 +00:00
|
|
|
|
2016-02-28 23:05:15 +00:00
|
|
|
edo sed -i \
|
|
|
|
-e "/pysol.desktop/d" \
|
|
|
|
-e "s:share/icons:share/pixmaps:" \
|
|
|
|
setup.py
|
2016-02-27 17:41:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
setup-py_src_install
|
|
|
|
|
|
|
|
insinto /usr/share/${MY_PN}
|
2018-02-02 00:02:48 +00:00
|
|
|
doins -r "${WORKBASE}"/${MY_PN}-Cardsets-2.0/*
|
2016-02-27 17:41:06 +00:00
|
|
|
|
2016-02-28 23:05:15 +00:00
|
|
|
doman docs/*.6
|
2016-02-27 17:41:06 +00:00
|
|
|
|
2016-05-26 12:24:47 +00:00
|
|
|
install_desktop_entry "Name=PySol Fan Club Edition" \
|
|
|
|
"Exec=pysol.py" "Icon=pysol02"
|
2016-02-27 17:41:06 +00:00
|
|
|
}
|
|
|
|
|