python-psycopg2: drop package
This commit is contained in:
parent
48d98f8bbf
commit
61f9523c66
3 changed files with 16 additions and 26 deletions
|
@ -1,25 +0,0 @@
|
|||
# Template file for 'python-psycopg2'
|
||||
pkgname=python-psycopg2
|
||||
version=2.8.3
|
||||
revision=2
|
||||
wrksrc="psycopg2-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="psycopg2"
|
||||
# Require postgresql-libs-devel to find executable: pg_config
|
||||
hostmakedepends="postgresql-libs-devel python3-setuptools python-setuptools"
|
||||
# Require postgresql-libs-devel for libpq-fe.h
|
||||
makedepends="python-devel python3-devel postgresql-libs-devel"
|
||||
short_desc="PostgreSQL adapter for Python2"
|
||||
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
|
||||
license="LGPL-3.0-or-later"
|
||||
homepage="http://initd.org/psycopg"
|
||||
distfiles="${PYPI_SITE}/p/psycopg2/psycopg2-${version}.tar.gz"
|
||||
checksum=897a6e838319b4bf648a574afb6cabcb17d0488f8c7195100d48d872419f4457
|
||||
|
||||
python3-psycopg2_package() {
|
||||
pycompile_module="psycopg2"
|
||||
short_desc="${short_desc/Python/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-psycopg2
|
16
srcpkgs/python3-psycopg2/template
Normal file
16
srcpkgs/python3-psycopg2/template
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Template file for 'python3-psycopg2'
|
||||
pkgname=python3-psycopg2
|
||||
version=2.8.3
|
||||
revision=3
|
||||
wrksrc="psycopg2-${version}"
|
||||
build_style=python3-module
|
||||
# Require postgresql-libs-devel to find executable: pg_config
|
||||
hostmakedepends="postgresql-libs-devel python3-setuptools"
|
||||
# Require postgresql-libs-devel for libpq-fe.h
|
||||
makedepends="python3-devel postgresql-libs-devel"
|
||||
short_desc="PostgreSQL adapter for Python32"
|
||||
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
|
||||
license="LGPL-3.0-or-later"
|
||||
homepage="http://initd.org/psycopg"
|
||||
distfiles="${PYPI_SITE}/p/psycopg2/psycopg2-${version}.tar.gz"
|
||||
checksum=897a6e838319b4bf648a574afb6cabcb17d0488f8c7195100d48d872419f4457
|
Loading…
Reference in a new issue