aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2022-03-14 13:34:35 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-18 00:26:03 +0700
commit93edeb4e2047ae8bdd8c24fea83bfabd9716bb86 (patch)
tree12df4c99ebde4f3a1110222bafa18a9c4ccd9037
parent8078f6f92e193e983ed4bdea5db94d81263e170e (diff)
python/python3-psycopg2: renamed from psycopg2
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/psycopg2/slack-desc19
-rw-r--r--python/python3-psycopg2/README (renamed from development/psycopg2/README)0
-rw-r--r--python/python3-psycopg2/python3-psycopg2.SlackBuild (renamed from development/psycopg2/psycopg2.SlackBuild)11
-rw-r--r--python/python3-psycopg2/python3-psycopg2.info (renamed from development/psycopg2/psycopg2.info)2
-rw-r--r--python/python3-psycopg2/slack-desc19
5 files changed, 26 insertions, 25 deletions
diff --git a/development/psycopg2/slack-desc b/development/psycopg2/slack-desc
deleted file mode 100644
index dfc7a0da87a5..000000000000
--- a/development/psycopg2/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-psycopg2: psycopg2 (Python PostgreSQL bindings)
-psycopg2:
-psycopg2: psycopg is a PostgreSQL database adapter for Python. It supports the
-psycopg2: full Python DBAPI 2.0, and is thread safe at level 2. psycopg was
-psycopg2: designed for heavily multi-threaded applications.
-psycopg2:
-psycopg2: The psycopg2 website can be found at:
-psycopg2: http://initd.org/tracker/psycopg/wiki/PsycopgTwo
-psycopg2:
-psycopg2:
-psycopg2:
diff --git a/development/psycopg2/README b/python/python3-psycopg2/README
index ffaef2289dd4..ffaef2289dd4 100644
--- a/development/psycopg2/README
+++ b/python/python3-psycopg2/README
diff --git a/development/psycopg2/psycopg2.SlackBuild b/python/python3-psycopg2/python3-psycopg2.SlackBuild
index 611784d37c95..6470b09c7236 100644
--- a/development/psycopg2/psycopg2.SlackBuild
+++ b/python/python3-psycopg2/python3-psycopg2.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Slackware build script for psycopg2
+# Slackware build script for python3-psycopg2
# Copyright 2021 Yth | Pont-en-Royans, France | yth@ythogtha.org
# Copyright (c) 2018-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
@@ -27,7 +27,8 @@
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=psycopg2
+PRGNAM=python3-psycopg2
+SRCNAM=${PRGNAM#python3-*}
VERSION=${VERSION:-2.9.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/development/psycopg2/psycopg2.info b/python/python3-psycopg2/python3-psycopg2.info
index 8232663289cd..322920f3f94f 100644
--- a/development/psycopg2/psycopg2.info
+++ b/python/python3-psycopg2/python3-psycopg2.info
@@ -1,4 +1,4 @@
-PRGNAM="psycopg2"
+PRGNAM="python3-psycopg2"
VERSION="2.9.3"
HOMEPAGE="http://initd.org/psycopg/"
DOWNLOAD="https://files.pythonhosted.org/packages/source/p/psycopg2/psycopg2-2.9.3.tar.gz"
diff --git a/python/python3-psycopg2/slack-desc b/python/python3-psycopg2/slack-desc
new file mode 100644
index 000000000000..80095bc24267
--- /dev/null
+++ b/python/python3-psycopg2/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+python3-psycopg2: python3-psycopg2 (Python PostgreSQL bindings)
+python3-psycopg2:
+python3-psycopg2: psycopg is a PostgreSQL database adapter for Python. It supports the
+python3-psycopg2: full Python DBAPI 2.0, and is thread safe at level 2. psycopg was
+python3-psycopg2: designed for heavily multi-threaded applications.
+python3-psycopg2:
+python3-psycopg2: The psycopg2 website can be found at:
+python3-psycopg2: http://initd.org/tracker/psycopg/wiki/PsycopgTwo
+python3-psycopg2:
+python3-psycopg2:
+python3-psycopg2: