python3-request for python3

This commit is contained in:
2015-11-06 15:42:24 +02:00
parent 31d9e29a46
commit 81dfe7770d
6 changed files with 43 additions and 9 deletions
@@ -5,6 +5,15 @@
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
WorkDir="requests-%s" % get.srcVERSION()
def install():
shelltools.makedirs("python3")
shelltools.copytree("../requests-%s" % get.srcVERSION(), "%s/python3" % get.workDIR())
pythonmodules.install()
shelltools.cd("%s/python3" % get.workDIR())
pythonmodules.install(pyVer = "3")
@@ -11,24 +11,37 @@
<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="6db8805632521a13789161bccb14f761672ec46f" type="targz">https://pypi.python.org/packages/source/r/requests/requests-2.7.0.tar.gz</Archive>
<Archive sha1sum="8488f2544b2f72ae5a366ca9973707868bdc3c74" type="targz">https://pypi.python.org/packages/source/r/requests/requests-2.8.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>python</Dependency>
<Dependency>python-setuptools</Dependency>
<Dependency>python3-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python-requests</Name>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/lib/python2*</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>python3-requests</Name>
<Files>
<Path fileType="data">/usr/lib/python3*</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2015-11-06</Date>
<Version>2.8.1</Version>
<Comment>version bump</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2015-08-24</Date>
<Version>2.7.0</Version>