python-py3c: new package for subversion
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env 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 pythonmodules
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def build():
|
||||
shelltools.system("sed -i 's/install: py3c.pc/install:/' Makefile")
|
||||
pythonmodules.compile(pyVer="3")
|
||||
autotools.make("prefix=/usr py3c.pc")
|
||||
|
||||
def install():
|
||||
#shelltools.system("make prefix=/usr install DESTDIR=%s" % get.installDIR())
|
||||
autotools.rawInstall("DESTDIR=%s prefix=/usr" % get.installDIR())
|
||||
|
||||
pythonmodules.install(pyVer="3")
|
||||
|
||||
pisitools.dodoc("LICENSE.MIT", "README.rst")
|
||||
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python-py3c</Name>
|
||||
<Homepage>https://github.com/encukou/py3c</Homepage>
|
||||
<Packager>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>MIT</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>py3c helps you port C extensions to Python 3</Summary>
|
||||
<Description>It provides a detailed guide, and a set of macros to make porting easy and reduce boilerplate.</Description>
|
||||
<Archive sha1sum="001193620792d2c2ed66faf72af6d3cb0f403284" type="targz">https://github.com/encukou/py3c/archive/v1.3.1.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>python3-setuptools</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python-py3c</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>python3</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/python3*</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>python-py3c-devel</Name>
|
||||
<Summary>Development files for python-py3c</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">python-py3c</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/share/pkgconfig/py3c.pc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-03-11</Date>
|
||||
<Version>1.3.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user