python-imagesize move to core
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Licensed under the GNU General Public License, version 3.
|
||||||
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||||
|
|
||||||
|
from pisi.actionsapi import pisitools
|
||||||
|
from pisi.actionsapi import pythonmodules
|
||||||
|
from pisi.actionsapi import shelltools
|
||||||
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
|
|
||||||
|
def build():
|
||||||
|
pythonmodules.compile()
|
||||||
|
|
||||||
|
def install():
|
||||||
|
pythonmodules.install()
|
||||||
|
|
||||||
|
pisitools.dodoc("LICENSE*", "README*")
|
||||||
+57
@@ -0,0 +1,57 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>python-imagesize</Name>
|
||||||
|
<Homepage>https://github.com/shibukawa/imagesize_py</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>PisiLinux Community</Name>
|
||||||
|
<Email>admins@pisilinux.org</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>BSD</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<Summary>Getting image size from png/jpeg/jpeg2000/gif file.</Summary>
|
||||||
|
<Description>This module analyzes jpeg/jpeg2000/png/gif image header and return image size.</Description>
|
||||||
|
<Archive sha1sum="48b7277a450654db77dc956812020525f5e478c8" type="targz">https://files.pythonhosted.org/packages/41/f5/3cf63735d54aa9974e544aa25858d8f9670ac5b4da51020bbfc6aaade741/imagesize-1.1.0.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>python-devel</Dependency>
|
||||||
|
<Dependency>python-setuptools</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>python-imagesize</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>python-setuptools</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="library">/usr/lib</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="3">
|
||||||
|
<Date>2019-10-03</Date>
|
||||||
|
<Version>1.1.0</Version>
|
||||||
|
<Comment>Version bump</Comment>
|
||||||
|
<Name>idris Kalp</Name>
|
||||||
|
<Email>idriskalp@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
|
<Update release="2">
|
||||||
|
<Date>2018-08-15</Date>
|
||||||
|
<Version>1.0.0</Version>
|
||||||
|
<Comment>Version Bump</Comment>
|
||||||
|
<Name>Pisi Linux Community</Name>
|
||||||
|
<Email>admin@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2017-01-29</Date>
|
||||||
|
<Version>0.7.1</Version>
|
||||||
|
<Comment>First release</Comment>
|
||||||
|
<Name>Pisi Linux Admins</Name>
|
||||||
|
<Email>admins@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>python-imagesize</Name>
|
||||||
|
<Summary xml:lang="tr">Png / jpeg / jpeg2000 / gif dosyasından görüntü boyutu elde etme.</Summary>
|
||||||
|
<Description xml:lang="tr">Bu modül jpeg / jpeg2000 / png / gif resim başlığını ve dönüş resim boyutunu analiz eder.</Description>
|
||||||
|
</Source>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user