Merge pull request #9327 from 4fury-c3440d8/np

bleachbit.
This commit is contained in:
Erkan IŞIK
2021-04-29 22:51:43 +03:00
committed by GitHub
3 changed files with 88 additions and 81 deletions
+6 -12
View File
@@ -4,21 +4,15 @@
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import shelltools from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get from pisi.actionsapi import get
def setup():
pass
def build(): def build():
pythonmodules.compile() pass
def install(): def install():
pythonmodules.install() shelltools.system("make prefix=/usr DESTDIR=%s install" % get.installDIR())
for lc in shelltools.ls("po/*.po"): pisitools.domo(lc, lc[3:-3], 'bleachbit.mo')
shelltools.chmod('%s/usr/lib/python2.7/site-packages/bleachbit/CLI.py' % get.installDIR(), mode = 0755)
pisitools.dosym('/usr/lib/python2.7/site-packages/bleachbit/CLI.py', '/usr/bin/bleachbit_cli')
shelltools.chmod('%s/usr/lib/python2.7/site-packages/bleachbit/GUI.py' % get.installDIR(), mode = 0755)
pisitools.dosym('/usr/lib/python2.7/site-packages/bleachbit/GUI.py', '/usr/bin/bleachbit')
pisitools.insinto('/usr/share/applications/', 'bleachbit.desktop')
pisitools.insinto('/usr/share/pixmaps/', 'bleachbit.png')
pisitools.insinto('/usr/share/bleachbit/cleaners', 'cleaners/*.xml')
+22 -9
View File
@@ -1,37 +1,49 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd"> <!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI> <PISI>
<Source> <Source>
<Name>bleachbit</Name> <Name>bleachbit</Name>
<Homepage>http://bleachbit.sourceforge.net</Homepage> <Homepage>https://www.bleachbit.org/</Homepage>
<Packager> <Packager>
<Name>Stefan Gronewold(groni)</Name> <Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email> <Email>groni@pisilinux.org</Email>
</Packager> </Packager>
<Summary>Deletes unneeded files to free disk space and maintain privacy.</Summary> <Summary>Deletes unneeded files to free disk space and maintain privacy.</Summary>
<Description>BleachBit quickly frees disk space and tirelessly guards your privacy. Free cache, delete cookies, clear Internet history, shred temporary files, delete logs, and discard junk you didn't know was there.</Description> <Description>BleachBit quickly frees disk space and tirelessly guards your privacy. Free cache, delete cookies, clear Internet history, shred temporary files, delete logs, and discard junk you didn't know was there.</Description>
<License>GPLv3</License> <License>GPL-3</License>
<IsA>app:gui</IsA> <IsA>app:gui</IsA>
<Archive sha1sum="3b046fc25f1ccb9259aa7dc5262975ff902909af" type="tarbz2">https://sourceforge.net/projects/bleachbit/files/bleachbit/2.0/bleachbit-2.0.tar.bz2</Archive> <Archive sha1sum="f49a2c4b226db1bfc94d749ace980efc51412342" type="tarbz2">
mirrors://sourceforge/project/bleachbit/bleachbit/4.2.0/bleachbit-4.2.0.tar.bz2
</Archive>
<BuildDependencies>
<Dependency>gtk3-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
<Dependency>python3-pygobject3-devel</Dependency>
</BuildDependencies>
</Source> </Source>
<Package> <Package>
<Name>bleachbit</Name> <Name>bleachbit</Name>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>python-gtk</Dependency> <Dependency>gtk3</Dependency>
<Dependency>python3-pygobject3</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="executable">/usr/bin</Path> <Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path> <Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share/applications</Path> <Path fileType="data">/usr/share</Path>
<Path fileType="data">/usr/share/bleachbit/cleaners</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="localedata">/usr/share/locale</Path> <Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
</Files> </Files>
</Package> </Package>
<History> <History>
<Update release="5">
<Date>2021-04-29</Date>
<Version>4.2.0</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="4"> <Update release="4">
<Date>2018-07-31</Date> <Date>2018-07-31</Date>
<Version>2.0</Version> <Version>2.0</Version>
@@ -62,3 +74,4 @@
</Update> </Update>
</History> </History>
</PISI> </PISI>