python3-psycopg2:first pisi rel.

This commit is contained in:
blue-devil
2020-02-22 09:26:57 +03:00
parent 6771f2dca1
commit 293a39841a
3 changed files with 70 additions and 0 deletions
@@ -0,0 +1,16 @@
#!/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 pythonmodules
from pisi.actionsapi import shelltools
def build():
# fix unused direct dependency analysis
shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lbz2 -lpthread")
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
@@ -0,0 +1,46 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-psycopg2</Name>
<Homepage>https://www.psycopg.org/</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<PartOf>programming.language.python3</PartOf>
<License>LGPL3</License>
<IsA>library</IsA>
<Summary>PostgreSQL database adapter for the Python programming language.</Summary>
<Description>Psycopg is the most popular PostgreSQL database adapter for the Python programming language. Its main features are the complete implementation of the Python DB API 2.0 specification and the thread safety (several threads can share the same connection).</Description>
<Archive sha1sum="735129ea4d1c937bcfde6e3f75024bbdc3820565" type="targz">https://github.com/psycopg/psycopg2/archive/2_8_4.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-setuptools</Dependency>
<Dependency>postgresql-lib</Dependency>
<Dependency>python3-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-psycopg2</Name>
<Summary>PostgreSQL database adapter for the Python programming language.</Summary>
<RuntimeDependencies>
<Dependency>postgresql-lib</Dependency>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc/python3-psycopg2</Path>
<Path fileType="library">/usr/lib/python3*</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-02-20</Date>
<Version>2.8.4</Version>
<Comment>First pisi release.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>python3-psycopg2</Name>
<Summary xml:lang="tr">Python programlama dili için PostgreSQL veritabanı adaptörü.</Summary>
<Description xml:lang="tr">python3-psycopg2, python programlama dili için PostgreSQL veritabanı adaptörü sunar.</Description>
</Source>
</PISI>