mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
pysolfc: clean up.
This commit is contained in:
parent
0a18d6442e
commit
4f04656c5f
1 changed files with 3 additions and 6 deletions
|
@ -6,21 +6,18 @@ build_style=python3-module
|
||||||
hostmakedepends="gettext python3-pygame python3-random2 python3-six
|
hostmakedepends="gettext python3-pygame python3-random2 python3-six
|
||||||
python3-tkinter python3-Pillow python3-attrs python3-pysol_cards"
|
python3-tkinter python3-Pillow python3-attrs python3-pysol_cards"
|
||||||
depends="pysolfc-cardsets ${hostmakedepends} python3-configobj"
|
depends="pysolfc-cardsets ${hostmakedepends} python3-configobj"
|
||||||
|
checkdepends="python3-pytest"
|
||||||
short_desc="Python solitaire game collection"
|
short_desc="Python solitaire game collection"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="http://pysolfc.sourceforge.net/"
|
homepage="https://pysolfc.sourceforge.io/"
|
||||||
distfiles="https://github.com/shlomif/PySolFC/archive/${pkgname}-${version}.tar.gz"
|
distfiles="https://github.com/shlomif/PySolFC/archive/pysolfc-${version}.tar.gz"
|
||||||
checksum=530c7b4f6350293c7fa8efbadc80d4a8643a3d66fe513693396308640abbe14d
|
checksum=530c7b4f6350293c7fa8efbadc80d4a8643a3d66fe513693396308640abbe14d
|
||||||
|
|
||||||
post_build() {
|
post_build() {
|
||||||
make mo rules
|
make mo rules
|
||||||
}
|
}
|
||||||
|
|
||||||
do_check() {
|
|
||||||
python -m unittest -v
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
mv ${DESTDIR}/usr/bin/pysol{.py,}
|
mv ${DESTDIR}/usr/bin/pysol{.py,}
|
||||||
sed -i "s|pysol.py|pysol|g" ${DESTDIR}/usr/share/applications/pysol.desktop
|
sed -i "s|pysol.py|pysol|g" ${DESTDIR}/usr/share/applications/pysol.desktop
|
||||||
|
|
Loading…
Add table
Reference in a new issue