summaryrefslogtreecommitdiff
path: root/dev-python/psycopg
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/psycopg')
-rw-r--r--dev-python/psycopg/Manifest3
-rw-r--r--dev-python/psycopg/files/psycopg-2.7.3-avoid-mxdatetime.patch40
-rw-r--r--dev-python/psycopg/psycopg-2.7.7-r1.ebuild68
3 files changed, 0 insertions, 111 deletions
diff --git a/dev-python/psycopg/Manifest b/dev-python/psycopg/Manifest
index f428c7845c36..397971b641ac 100644
--- a/dev-python/psycopg/Manifest
+++ b/dev-python/psycopg/Manifest
@@ -1,9 +1,6 @@
-AUX psycopg-2.7.3-avoid-mxdatetime.patch 1832 BLAKE2B dff21302f85dc05be27147d1a53ac525bca24cd9c2282edb92168ba38e73c38bad9f5a8b24910a690105bb4f98888e174f8d7c2a285e6e42efb36a45499ed02e SHA512 1c582abe153d73bd71cdfefff4293f2c497a5818fe2ea7e0deffe71d0acb89ccde8e20aaa33acf3d47900743c548eecbf01db24b01abe35b5ed60ca20bf4a658
AUX psycopg-2.8.3-avoid-mxdatetime.patch 954 BLAKE2B 073eca8e49dd4d7fd2ec920dfe52e255d3fbb0e9975cd0378574d7c6f6f097c4b0bae0f4eba74e939b15c19ccab1dbe84d28f434830d38db6b59e18246c3f2c2 SHA512 9e0ac41a70002bdac03628ac15b84edd3e67e589f8ca145242018aab03fc42b8befc1c0330f0111d01b239dc00b6ffc29965ba3c18ce0965cbe9e7b31d1fef4d
-DIST psycopg2-2.7.7.tar.gz 427474 BLAKE2B bc721b721693bc5f560a4829e84715d15e8c14523ada00109c7d7ba916c91928082fff286bd3c2ff5987c0436443128d1408ac9de073ad538b1e356fc73aaf8f SHA512 032344957c00bf659ca5e46f54f827a6d79809e370d661cd349e2ce935873359bcc4f440b74c6f14658bf1cd9598b6d884abae507fd33db9e07b01fc87967fb0
DIST psycopg2-2.8.5.tar.gz 380874 BLAKE2B 843321175499bf00b080d3e58ce0d586e674585af4be5a08866b5dbb68256ff9232d3c25e2603a3a0920a6c91927eb9fbb5942acd429be5dab9177c65da0c32e SHA512 d4cf9b94573b90fe56555ea5cf841aa0c4c806770f92f35a7ef2531999bb50f98eb1276e56f1540b5f2695e443bac7e9cb8bbfbd24ed82164f99663259d2da3e
DIST psycopg2-2.8.6.tar.gz 383797 BLAKE2B da0e3f1e143c51c940ba1f51d3e457b492d880ab71267dacd4747444bc767711ccd6c2f54d9e10ce5ad8fae0c3206fb4b6199f267e9bbaf12eb654227f59c2b0 SHA512 1e1d5d8755c6d1a153d84210bf29902afafe853659d709e13abc6bc5772def13779d2394690af1c544384c9c607edc0fe5cf2763244fb346febf9a9e0032b45f
-EBUILD psycopg-2.7.7-r1.ebuild 1531 BLAKE2B f8a388db2ae2d70f1294bedfb9358e5e5630bc6d7f1daa7c592bc3c46b9a53ec1eb1587cf64171a386c3e19ee1abdcd2a12deb4b7a1e2fb70243487215db39c1 SHA512 b2e8c980b37d528cc6bb13dffd117d27a2085eeb88e34e21de435c635681ee4a9021a62968e1808fc7935fd0d1dc9e27484cb35964d1f57a2bd3ea9770cf062b
EBUILD psycopg-2.8.5-r1.ebuild 1514 BLAKE2B 08f45229d2bf8d868ad9c16de2e33c070e17a53e6ea9f8804973935a8f76c81cae103368e9cf9da2456764ec3a54e71cab2c1a95c984f1499344d03d958bb470 SHA512 0d150dbf7d2fc85af31323f18f96710a8538b8030936aae379b4d95094c7e41e2a13a1d99f5de07a695468e7fa172cf3f340c1d44e86e63cd4a3753b433399b9
EBUILD psycopg-2.8.6-r1.ebuild 1617 BLAKE2B 75de42f5d23c080577379c7dc1df6f81dac4c8525dd79376c3433eaa3ff174322af601fb5981a143442b7c919438e83bcc65539c7797fe0f28aa353487470e1d SHA512 706724d2dcbae4c6d491abf175b8fd58fe21f462caf047d0b6e1709f3bb1c094e726902a40ff4fd197bdde8f55807c4aa951ba85a2a066d0c7b0ebc19089e3e3
MISC metadata.xml 321 BLAKE2B aff48bec04e34b92668aa18214d86ddbedef2376eeced4815118d35eebfb8e6af87234a9470828f465626f7d9ed56fe0fcb8f078c23945371248136533651ad3 SHA512 358b751b3a65f64ab5468bcf4022315f7069a2fb60709c2bb12ac02577866a3ff24ab2dd69577052070cf010a51428cb3ec385ca7cfe48640f4dd25ae478a966
diff --git a/dev-python/psycopg/files/psycopg-2.7.3-avoid-mxdatetime.patch b/dev-python/psycopg/files/psycopg-2.7.3-avoid-mxdatetime.patch
deleted file mode 100644
index aab130c54500..000000000000
--- a/dev-python/psycopg/files/psycopg-2.7.3-avoid-mxdatetime.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-Index: psycopg2-2.7.3/setup.py
-===================================================================
---- psycopg2-2.7.3.orig/setup.py
-+++ psycopg2-2.7.3/setup.py
-@@ -527,20 +527,21 @@ have_pydatetime = True
- have_mxdatetime = False
- use_pydatetime = int(parser.get('build_ext', 'use_pydatetime'))
-
--# check for mx package
--mxincludedir = ''
--if parser.has_option('build_ext', 'mx_include_dir'):
-- mxincludedir = parser.get('build_ext', 'mx_include_dir')
--if not mxincludedir:
-- mxincludedir = os.path.join(get_python_inc(plat_specific=1), "mx")
--if mxincludedir.strip() and os.path.exists(mxincludedir):
-- # Build the support for mx: we will check at runtime if it can be imported
-- include_dirs.append(mxincludedir)
-- define_macros.append(('HAVE_MXDATETIME', '1'))
-- sources.append('adapter_mxdatetime.c')
-- depends.extend(['adapter_mxdatetime.h', 'typecast_mxdatetime.c'])
-- have_mxdatetime = True
-- version_flags.append('mx')
-+if not use_pydatetime:
-+ # check for mx package
-+ mxincludedir = ''
-+ if parser.has_option('build_ext', 'mx_include_dir'):
-+ mxincludedir = parser.get('build_ext', 'mx_include_dir')
-+ if not mxincludedir:
-+ mxincludedir = os.path.join(get_python_inc(plat_specific=1), "mx")
-+ if mxincludedir.strip() and os.path.exists(mxincludedir):
-+ # Build the support for mx: we will check at runtime if it can be imported
-+ include_dirs.append(mxincludedir)
-+ define_macros.append(('HAVE_MXDATETIME', '1'))
-+ sources.append('adapter_mxdatetime.c')
-+ depends.extend(['adapter_mxdatetime.h', 'typecast_mxdatetime.c'])
-+ have_mxdatetime = True
-+ version_flags.append('mx')
-
- # now decide which package will be the default for date/time typecasts
- if have_pydatetime and (use_pydatetime or not have_mxdatetime):
diff --git a/dev-python/psycopg/psycopg-2.7.7-r1.ebuild b/dev-python/psycopg/psycopg-2.7.7-r1.ebuild
deleted file mode 100644
index d8033a162ef8..000000000000
--- a/dev-python/psycopg/psycopg-2.7.7-r1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{6,7} )
-
-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"
-
-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-macos ~x86-solaris"
-IUSE="debug doc examples"
-
-RDEPEND=">=dev-db/postgresql-8.1:*"
-DEPEND="${RDEPEND}
- doc? (
- >=dev-python/pygments-2.2[${PYTHON_USEDEP}]
- >=dev-python/sphinx-1.6[${PYTHON_USEDEP}]
- )"
-
-RESTRICT="test"
-
-# Avoid using mxdatetime: https://bugs.gentoo.org/452028
-PATCHES=( "${FILESDIR}"/psycopg-2.7.3-avoid-mxdatetime.patch )
-
-S="${WORKDIR}/${MY_P}"
-
-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
-}
-
-python_compile_all() {
- use doc && emake -C doc/src -j1 html text
-}
-
-python_install_all() {
- if use doc; then
- dodoc -r doc/src/_build/html
- dodoc doc/src/_build/text/*
- fi
-
- if use examples ; then
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-
- distutils-r1_python_install_all
-}