diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2018-12-07 18:12:35 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-12-09 13:17:14 +0700 |
commit | 82b6ebd2fdba2a17daca63fdc24ed8fd08795464 (patch) | |
tree | db6ca93ce7afffa18a423f3428481ea8599cdf46 /development | |
parent | a21d493430c0978fdedf7d85cfaf2164b5dc16ff (diff) | |
download | slackbuilds-82b6ebd2fdba2a17daca63fdc24ed8fd08795464.tar.gz |
development/psycopg2: Updated for version 2.7.6.1.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'development')
-rw-r--r-- | development/psycopg2/psycopg2.SlackBuild | 28 | ||||
-rw-r--r-- | development/psycopg2/psycopg2.info | 8 |
2 files changed, 17 insertions, 19 deletions
diff --git a/development/psycopg2/psycopg2.SlackBuild b/development/psycopg2/psycopg2.SlackBuild index ac0d004453..c27852cad0 100644 --- a/development/psycopg2/psycopg2.SlackBuild +++ b/development/psycopg2/psycopg2.SlackBuild @@ -13,19 +13,19 @@ # 1. Redistributions of this script must retain the above copyright # notice, this list of conditions and the following disclaimer. # -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=psycopg2 -VERSION=${VERSION:-2.7.5} +VERSION=${VERSION:-2.7.6.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -57,10 +57,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi +python2 setup.py install --root=$PKG +python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/development/psycopg2/psycopg2.info b/development/psycopg2/psycopg2.info index 4ff5e9ba3b..e2ab4873b0 100644 --- a/development/psycopg2/psycopg2.info +++ b/development/psycopg2/psycopg2.info @@ -1,10 +1,10 @@ PRGNAM="psycopg2" -VERSION="2.7.5" +VERSION="2.7.6.1" HOMEPAGE="http://initd.org/psycopg/" -DOWNLOAD="http://initd.org/psycopg/tarballs/PSYCOPG-2-7/psycopg2-2.7.5.tar.gz" -MD5SUM="9e7d6f695fc7f8d1c42a7905449246c9" +DOWNLOAD="http://initd.org/psycopg/tarballs/PSYCOPG-2-7/psycopg2-2.7.6.1.tar.gz" +MD5SUM="4e353b92f35ef597e14868d8a47a2df9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="postgresql" +REQUIRES="postgresql python3" MAINTAINER="Benjamin Trigona-Harany" EMAIL="slackbuilds@jaxartes.net" |