From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CC09E1382C5 for ; Fri, 12 Feb 2021 14:00:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B2D0E0974; Fri, 12 Feb 2021 14:00:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F3441E0974 for ; Fri, 12 Feb 2021 14:00:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 76170335D4C for ; Fri, 12 Feb 2021 14:00:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 852D74C5 for ; Fri, 12 Feb 2021 14:00:05 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1613138323.1c6246664b3c85e74f4573c470c40e4232883e79.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/psycopg/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/psycopg/Manifest dev-python/psycopg/psycopg-2.8.5-r1.ebuild X-VCS-Directories: dev-python/psycopg/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1c6246664b3c85e74f4573c470c40e4232883e79 X-VCS-Branch: master Date: Fri, 12 Feb 2021 14:00:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f8930ad8-936f-4cc1-813e-459688496c6d X-Archives-Hash: 4980db96f15c12e6ccd3c676dbfed9bf commit: 1c6246664b3c85e74f4573c470c40e4232883e79 Author: Michał Górny gentoo org> AuthorDate: Fri Feb 12 13:58:43 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Feb 12 13:58:43 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c624666 dev-python/psycopg: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/psycopg/Manifest | 1 - dev-python/psycopg/psycopg-2.8.5-r1.ebuild | 65 ------------------------------ 2 files changed, 66 deletions(-) diff --git a/dev-python/psycopg/Manifest b/dev-python/psycopg/Manifest index c9341792e5d..2dbb4f38447 100644 --- a/dev-python/psycopg/Manifest +++ b/dev-python/psycopg/Manifest @@ -1,2 +1 @@ -DIST psycopg2-2.8.5.tar.gz 380874 BLAKE2B 843321175499bf00b080d3e58ce0d586e674585af4be5a08866b5dbb68256ff9232d3c25e2603a3a0920a6c91927eb9fbb5942acd429be5dab9177c65da0c32e SHA512 d4cf9b94573b90fe56555ea5cf841aa0c4c806770f92f35a7ef2531999bb50f98eb1276e56f1540b5f2695e443bac7e9cb8bbfbd24ed82164f99663259d2da3e DIST psycopg2-2.8.6.tar.gz 383797 BLAKE2B da0e3f1e143c51c940ba1f51d3e457b492d880ab71267dacd4747444bc767711ccd6c2f54d9e10ce5ad8fae0c3206fb4b6199f267e9bbaf12eb654227f59c2b0 SHA512 1e1d5d8755c6d1a153d84210bf29902afafe853659d709e13abc6bc5772def13779d2394690af1c544384c9c607edc0fe5cf2763244fb346febf9a9e0032b45f diff --git a/dev-python/psycopg/psycopg-2.8.5-r1.ebuild b/dev-python/psycopg/psycopg-2.8.5-r1.ebuild deleted file mode 100644 index 1336c8ae660..00000000000 --- a/dev-python/psycopg/psycopg-2.8.5-r1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit distutils-r1 flag-o-matic - -MY_PN="${PN}2" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="PostgreSQL database adapter for Python" -HOMEPAGE="https://www.psycopg.org https://pypi.org/project/psycopg2/" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="LGPL-3+" -SLOT="2" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" -IUSE="debug" - -RDEPEND=">=dev-db/postgresql-8.1:*" -DEPEND="${RDEPEND}" - -# Avoid using mxdatetime: https://bugs.gentoo.org/452028 -PATCHES=( - "${FILESDIR}"/psycopg-2.8.3-avoid-mxdatetime.patch -) - -python_compile() { - local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} - - ! python_is_python3 && append-flags -fno-strict-aliasing - - distutils-r1_python_compile -} - -python_prepare_all() { - if use debug; then - sed -i 's/^\(define=\)/\1PSYCOPG_DEBUG,/' setup.cfg || die - fi - - distutils-r1_python_prepare_all -} - -src_test() { - initdb -D "${T}"/pgsql || die - # TODO: random port - pg_ctl -w -D "${T}"/pgsql start \ - -o "-h '' -k '${T}'" || die - createdb -h "${T}" psycopg2_test || die - - local -x PSYCOPG2_TESTDB_HOST="${T}" - distutils-r1_src_test - - pg_ctl -w -D "${T}"/pgsql stop || die -} - -python_test() { - "${EPYTHON}" -c " -import tests -tests.unittest.main(defaultTest='tests.test_suite') -" --verbose || die "Tests fail with ${EPYTHON}" -}