cycle: remove package

* python2, not maintained
This commit is contained in:
Michal Vasilek 2022-03-03 22:29:25 +01:00 committed by Echo
parent b2879f0d3e
commit b25455195a
3 changed files with 1 additions and 45 deletions

View file

@ -1,9 +0,0 @@
[Desktop Entry]
Exec='/usr/bin/cycle'
GenericName=Cycle
Icon=cycle
Name=Cycle
Terminal=false
Type=Application
Categories=Education;Science;MedicalSoftware
Keywords=Calendar;Women;Menstruation;Ovulation;

View file

@ -1,36 +0,0 @@
# Template file for 'cycle'
pkgname=cycle
version=0.3.2
revision=2
pycompile_dirs="usr/share/cycle"
hostmakedepends="python"
depends="wxPython"
short_desc="Menstrual cycle tracking program"
maintainer="Cameron Nemo <cnemo@tutanota.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/jose1711/cycle"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=6ca5a8191653d435ed04968b91b4a52c8e0d3d90d31d2c008aba1e9edcc1adc9
python_version=2
do_install() {
# Program
vmkdir usr/share/cycle
for f in cal_year dialogs p_rotor save_load set_dir; do
vinstall "${f}.py" 0644 usr/share/cycle
done
vinstall cycle.py 0755 usr/share/cycle
vmkdir usr/bin
ln -rs "${DESTDIR}/usr/share/cycle/cycle.py" "${DESTDIR}/usr/bin/cycle"
# Assets
vcopy bitmaps usr/share/cycle
vcopy icons usr/share/cycle
# Translations
vmkdir usr/share/locale
for dir in $(find msg -mindepth 1 -maxdepth 1 -type d); do
vcopy "$dir" usr/share/locale
done
# Contriband
vman cycle.1
vinstall "${FILESDIR}/cycle.desktop" 0644 usr/share/applications
}

View file

@ -38,6 +38,7 @@ replaces="
crystal<=0.34.0_4
ctpp2-devel<=2.8.3_7
ctpp2<=2.8.3_7
cycle<=0.3.2_2
deepin-calculator<=5.0.1_1
deepin-draw<=1.0.0_1
deepin-editor<=1.2.9.1_1