From 51abfc24f188c67dabf6f01e470d969f446b095f Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Fri, 15 Sep 2006 11:21:00 +0000 Subject: [PATCH] * Dissappearence of reverse dependency information is caused by upgrades. Great. :/ --- scenarios/revdepscen.py | 55 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 scenarios/revdepscen.py diff --git a/scenarios/revdepscen.py b/scenarios/revdepscen.py new file mode 100644 index 00000000..b34dff24 --- /dev/null +++ b/scenarios/revdepscen.py @@ -0,0 +1,55 @@ +# -*- coding: utf-8 -*- +# +# Scenario : revdepscen.py +# +# Source : caglar@pardus.org.tr +# +# Problem : reverse dependency information disappears +# +# faik@iago scenarios $ pisi info kdelibs +# Yüklü paket: +# Ad: kdelibs, versiyon 3.5.4, sürüm 35, inşa 17 +# Özet: Tüm KDE programlarının ihtiyaç duyduğu KDE kütüphaneleri +# Açıklama: Tüm KDE programlarının ihtiyaç duyduğu KDE kütüphaneleri +# Bileşen: desktop.kde.base +# Sağladıkları: +# Bağımlılıklar:qt arts freetype fontconfig libxslt libxml2 libpcre libart_lgpl libidn utempter alsa-lib cups tiff aspell +# jasper mDNSResponder ghostscript acl zpspell openexr mit-kerberos tulliana2 +# Dağıtım: Pardus, Dağıtım Sürümü: 1.1 +# Mimari: Any, Yerleşik Boyut: 222414685 +# Ters bağımlılıklar: kdebase gwenview +# +# Problem Description: +# +# Package's reverse dependencies disappears unexpectedly. +# +# Expected: +# +# They should not. :) +# + +from pisi.scenarioapi.scenario import * + +KDELIBS = "kdelibs" +KOFFICE = "koffice" +KFTPGRABBER = "kftpgrabber" +KNETSTATS = "knetstats" +KONVERSATION = "konversation" +GWENVIEW = "gwenview" + +let_repo_had(KDELIBS) +let_repo_had(KOFFICE, with_dependencies(KDELIBS)) +let_repo_had(GWENVIEW, with_dependencies(KDELIBS)) +let_repo_had(KFTPGRABBER, with_dependencies(KDELIBS)) +let_repo_had(KNETSTATS, with_dependencies(KDELIBS)) +let_repo_had(KONVERSATION, with_dependencies(KDELIBS)) + +let_pisi_had(KDELIBS, KOFFICE, GWENVIEW, KFTPGRABBER, KNETSTATS, KONVERSATION) + +def run(): + pisi_info(KDELIBS) + repo_version_bumped(KDELIBS) + repo_updated_index() + pisi_upgraded() + pisi_info(KDELIBS) +