Merge pull request #1058 from blue-devil/master

version bump:python modules
This commit is contained in:
2020-02-22 08:05:44 +02:00
committed by GitHub
12 changed files with 67 additions and 25 deletions
@@ -5,10 +5,9 @@
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools
def build():
pythonmodules.compile()
def install():
pythonmodules.install()
pythonmodules.install()
@@ -9,17 +9,16 @@
<Email>ergunsalman@hotmail.com</Email>
</Packager>
<PartOf>programming.language.python</PartOf>
<License>MIT</License>
<IsA>library</IsA>
<Summary>Requests is an Apache2 Licensed HTTP library, written in Python, for human beings.</Summary>
<Description>Pythons standard urllib2 module provides most of the HTTP capabilities you need</Description>
<License>MIT</License>
<Archive sha1sum="c22ed0a553f8dc37e5c2a965048d81a5ccfaff95" type="targz">https://files.pythonhosted.org/packages/01/62/ddcf76d1d19885e8579acb1b1df26a852b03472c0e46d2b959a714c90608/requests-2.22.0.tar.gz</Archive>
<Archive sha1sum="c3684553fd2af62da6d91f35f04a6148d90e8d4f" type="targz">https://github.com/psf/requests/archive/v2.23.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python-devel</Dependency>
<Dependency>python-setuptools</Dependency>
<Dependency>python-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1">dont-import-OrderedDict-from-urllib3.patch</Patch> -->
<!-- <Patch level="1">patch-requests-certs.py-to-use-the-system-CA-bundle.patch</Patch> -->
<Patch level="1">certs.patch</Patch>
</Patches>
</Source>
@@ -33,12 +32,19 @@
<Dependency>python-idna</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/lib</Path>
</Files>
</Package>
<History>
<Update release="10">
<Date>2020-02-21</Date>
<Version>2.23.0</Version>
<Comment>Version bump.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
<Update release="9">
<Date>2020-01-23</Date>
<Version>2.22.0</Version>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>python-requests</Name>
<Summary xml:lang="tr">Requests insanlar için yapılmış basit bir HTTP kitaplığıdır.</Summary>
<Description xml:lang="tr">Requests HTTP/1.1 isteklerini çok basit bir şekilde göndermenize olanak tanıyan bir python kitaplığıdır.</Description>
</Source>
</PISI>
@@ -4,9 +4,9 @@
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
from pisi.actionsapi import shelltools
WorkDir="setuptools-%s" % get.srcVERSION()
@@ -16,7 +16,6 @@ def install():
pythonmodules.run("bootstrap.py", pyVer="3")
pythonmodules.install(pyVer = "3")
pisitools.rename("/usr/bin/easy_install", "py3easy-install")
#avoid python-setuptools conflict
#pisitools.removeDir("/usr/share")
@@ -8,11 +8,12 @@
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<PartOf>programming.language.python3</PartOf>
<License>PSF-2.2</License>
<IsA>library</IsA>
<Summary>Python setuptools</Summary>
<Description>python-setuptools is a collection of enhancements to the Python distutils that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages.</Description>
<Archive sha1sum="036f03b0f82fa69e6bf472a4464b9cc62e6b2a39" type="targz">https://github.com/pypa/setuptools/archive/v45.1.0.tar.gz</Archive>
<Archive sha1sum="abed68517b8e1c8b6c641d340f18118d080829dc" type="targz">https://github.com/pypa/setuptools/archive/v45.2.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
<!--<Dependency>python3-six</Dependency>-->
@@ -34,6 +35,13 @@
</Package>
<History>
<Update release="13">
<Date>2020-02-21</Date>
<Version>45.2.0</Version>
<Comment>Version bump.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
<Update release="12">
<Date>2020-01-29</Date>
<Version>45.1.0</Version>
@@ -3,6 +3,6 @@
<Source>
<Name>python3-setuptools</Name>
<Summary xml:lang="tr">Python kurulum araçları</Summary>
<Description xml:lang="tr">python-setuptools, Python distutils'e yapılan, özellikle başka paketlere bağımlılığı olan Python paketlerini daha kolay oluşturmaya ve dağıtmaya yarayan iyileştirmeler koleksiyonudur.</Description>
<Description xml:lang="tr">python3-setuptools, Python distutils'e yapılan, özellikle başka paketlere bağımlılığı olan Python paketlerini daha kolay oluşturmaya ve dağıtmaya yarayan iyileştirmeler koleksiyonudur.</Description>
</Source>
</PISI>
+6 -3
View File
@@ -5,12 +5,15 @@
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
def build():
# suppress compiler warnings
pisitools.cflags.add("-Wno-stringop-truncation")
# fix unused direct dependency analysis
shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lbz2 -lpthread -ldl")
pythonmodules.compile()
def install():
pythonmodules.install()
pisitools.dodoc("LICENSE", "README.rst", "INSTALL.rst")
pythonmodules.install()
+12 -3
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python-psutil</Name>
@@ -8,11 +8,12 @@
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<PartOf>programming.language.python3</PartOf>
<License>BSD</License>
<IsA>library</IsA>
<Summary>A cross-platform process utilities module for Python</Summary>
<Description>python-psutil is a module providing an interface for retrieving information on all running processes and system utilization (CPU, memory) in a portable way by using Python, implementing many functionalities offered by command line tools like ps, top, kill, lsof and netstat.</Description>
<Archive sha1sum="9ea8f25fe66897d9a2354708e769da530fb4687d" type="targz">https://github.com/giampaolo/psutil/archive/release-5.6.7.tar.gz</Archive>
<Archive sha1sum="9d4313e16b5fb865371fabb31e59614e487f9d4b" type="targz">https://github.com/giampaolo/psutil/archive/release-5.7.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python-devel</Dependency>
</BuildDependencies>
@@ -20,6 +21,7 @@
<Package>
<Name>python-psutil</Name>
<Summary>A cross-platform process utilities module for Python</Summary>
<RuntimeDependencies>
<Dependency>python</Dependency>
</RuntimeDependencies>
@@ -30,6 +32,13 @@
</Package>
<History>
<Update release="6">
<Date>2020-02-21</Date>
<Version>5.7.0</Version>
<Comment>Version bump.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
<Update release="5">
<Date>2020-01-15</Date>
<Version>5.6.7</Version>
@@ -66,4 +75,4 @@
<Email>ertugrulerata@gmail.com</Email>
</Update>
</History>
</PISI>
</PISI>
+1 -1
View File
@@ -5,4 +5,4 @@
<Summary xml:lang="tr">Platform bağımsız, süreçler hakkında bilgi sağlayan bir Python modülü</Summary>
<Description xml:lang="tr">python-psutil, bütün çalışan süreçler ve sistem kullanımı (MİB - Merkezi İşlem Birim(CPU) ve hafıza gibi) hakkında bilgilere erişimek için arayüz sunan bir Python modülüdür. ps, top, kill, lsof, netstat gibi bir çok komut satırı araçlarının sunduğu işlevselliği sağlamaktadır.</Description>
</Source>
</PISI>
</PISI>
+2 -1
View File
@@ -15,4 +15,5 @@ def build():
def install():
pythonmodules.install()
pisitools.remove("/usr/lib/%s/site-packages/setuptools/*.exe" % get.curPYTHON())
pisitools.rename("/usr/bin/easy_install", "py2easy-install")
pisitools.remove("/usr/lib/%s/site-packages/setuptools/*.exe" % get.curPYTHON())
+13 -4
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM 'http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd'>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python-setuptools</Name>
@@ -12,19 +12,28 @@
<IsA>library</IsA>
<Summary>Python setuptools</Summary>
<Description>python-setuptools is a collection of enhancements to the Python distutils that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages.</Description>
<Archive sha1sum="1460a02840bdab87aa419451819933368d33d810" type="targz">https://github.com/pypa/setuptools/archive/v42.0.2.tar.gz</Archive>
<Archive sha1sum="abed68517b8e1c8b6c641d340f18118d080829dc" type="targz">https://github.com/pypa/setuptools/archive/v45.2.0.tar.gz</Archive>
</Source>
<Package>
<Name>python-setuptools</Name>
<Summary>Python setuptools</Summary>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="executable">/usr/bin/py2easy-install</Path>
<Path fileType="executable">/usr/bin/easy_install-2.7</Path>
<Path fileType="library">/usr/lib/python*</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="7">
<Date>2020-02-21</Date>
<Version>45.2.0</Version>
<Comment>Version bump.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
<Update release="6">
<Date>2019-12-10</Date>
<Version>42.0.2</Version>
@@ -68,4 +77,4 @@
<Email>ertugrulerata@gmail.com</Email>
</Update>
</History>
</PISI>
</PISI>
@@ -5,4 +5,4 @@
<Summary xml:lang="tr">Python kurulum araçları</Summary>
<Description xml:lang="tr">python-setuptools, Python distutils'e yapılan, özellikle başka paketlere bağımlılığı olan Python paketlerini daha kolay oluşturmaya ve dağıtmaya yarayan iyileştirmeler koleksiyonudur.</Description>
</Source>
</PISI>
</PISI>