summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/psycopg')
-rw-r--r--dev-python/psycopg/ChangeLog8
-rw-r--r--dev-python/psycopg/files/psycopg-2.0.12-setup.py.patch11
-rw-r--r--dev-python/psycopg/psycopg-1.1.21-r1.ebuild73
-rw-r--r--dev-python/psycopg/psycopg-1.1.21.ebuild56
-rw-r--r--dev-python/psycopg/psycopg-2.4.6-r1.ebuild73
-rw-r--r--dev-python/psycopg/psycopg-2.4.6-r2.ebuild73
-rw-r--r--dev-python/psycopg/psycopg-2.5.ebuild73
7 files changed, 7 insertions, 360 deletions
diff --git a/dev-python/psycopg/ChangeLog b/dev-python/psycopg/ChangeLog
index 1e2eecffc45f..289b5860bad1 100644
--- a/dev-python/psycopg/ChangeLog
+++ b/dev-python/psycopg/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/psycopg
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.177 2014/10/20 03:10:14 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.178 2014/10/20 05:43:40 idella4 Exp $
+
+ 20 Oct 2014; Ian Delaney <idella4@gentoo.org>
+ -files/psycopg-2.0.12-setup.py.patch, -psycopg-1.1.21-r1.ebuild,
+ -psycopg-1.1.21.ebuild, -psycopg-2.4.6-r1.ebuild, -psycopg-2.4.6-r2.ebuild,
+ -psycopg-2.5.ebuild:
+ remove some old
20 Oct 2014; Ian Delaney <idella4@gentoo.org> -files/2.5.4-docbuild.patch,
psycopg-2.5.4.ebuild:
diff --git a/dev-python/psycopg/files/psycopg-2.0.12-setup.py.patch b/dev-python/psycopg/files/psycopg-2.0.12-setup.py.patch
deleted file mode 100644
index 9da7ed8c0694..000000000000
--- a/dev-python/psycopg/files/psycopg-2.0.12-setup.py.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py
-+++ setup.py
-@@ -344,7 +344,7 @@
- mxincludedir = parser.get('build_ext', 'mx_include_dir')
- else:
- mxincludedir = os.path.join(get_python_inc(plat_specific=1), "mx")
--if os.path.exists(mxincludedir):
-+if not use_pydatetime and os.path.exists(mxincludedir):
- include_dirs.append(mxincludedir)
- define_macros.append(('HAVE_MXDATETIME','1'))
- sources.append('adapter_mxdatetime.c')
diff --git a/dev-python/psycopg/psycopg-1.1.21-r1.ebuild b/dev-python/psycopg/psycopg-1.1.21-r1.ebuild
deleted file mode 100644
index 5126b92421fb..000000000000
--- a/dev-python/psycopg/psycopg-1.1.21-r1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-1.1.21-r1.ebuild,v 1.4 2013/09/05 18:46:24 mgorny Exp $
-
-EAPI=5
-PYTHON_COMPAT=( python{2_6,2_7} )
-
-inherit autotools-utils python-r1
-
-DESCRIPTION="PostgreSQL database adapter for Python"
-HOMEPAGE="http://www.initd.org/software/psycopg"
-SRC_URI="http://initd.org/pub/software/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="examples"
-
-RDEPEND=">=dev-python/egenix-mx-base-2.0.3[${PYTHON_USEDEP}]
- dev-db/postgresql-base
- ${PYTHON_DEPS}"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- # fix for bug #134873
- sed -e '1245s/static //' -i cursor.c || die
- sed -e 's:$(PY_MOD_DIR):$(D)&/$$mod:' \
- -e '/^CFLAGS/s:-I:-I. &:' \
- -i Makefile.pre.in || die
-
- autotools-utils_src_prepare
-}
-
-src_configure() {
- python_configure() {
- local myeconfargs=(
- --with-mxdatetime-includes="$(python_get_includedir)/mx"
- --with-postgres-includes="/usr/include/postgresql/server"
- )
-
- autotools-utils_src_configure
-
- sed -e 's:$(BLDSHARED):& $(LDFLAGS):' \
- -i "${BUILD_DIR}"/Makefile || die
- }
- python_foreach_impl python_configure
-}
-
-src_compile() {
- python_foreach_impl autotools-utils_src_compile \
- OPT="${CFLAGS}" LDFLAGS="${LDFLAGS}"
-}
-
-src_test() {
- :
-}
-
-src_install () {
- python_install() {
- dodir "$(python_get_sitedir)"
- autotools-utils_src_install
- }
-
- python_foreach_impl python_install
-
- dodoc RELEASE-1.0 SUCCESS doc/python-taylor.txt
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins -r doc/examples/.
- docompress -x "${INSDESTTREE}"
- fi
-}
diff --git a/dev-python/psycopg/psycopg-1.1.21.ebuild b/dev-python/psycopg/psycopg-1.1.21.ebuild
deleted file mode 100644
index 6de112831ac8..000000000000
--- a/dev-python/psycopg/psycopg-1.1.21.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-1.1.21.ebuild,v 1.21 2012/02/23 10:16:40 patrick Exp $
-
-EAPI="3"
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython"
-
-inherit python
-
-DESCRIPTION="PostgreSQL database adapter for Python"
-HOMEPAGE="http://www.initd.org/software/psycopg"
-SRC_URI="http://initd.org/pub/software/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha ~amd64 ~arm ia64 ppc ppc64 sparc x86"
-IUSE=""
-
-DEPEND=">=dev-python/egenix-mx-base-2.0.3
- dev-db/postgresql-base"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- # fix for bug #134873
- sed -e '1245s/static //' -i cursor.c
-
- sed -e 's:$(PY_MOD_DIR):$(D)&/$$mod:' -i Makefile.pre.in
-
- python_copy_sources
-}
-
-src_configure() {
- configuration() {
- econf \
- --with-mxdatetime-includes="$(python_get_includedir)/mx" \
- --with-postgres-includes="/usr/include/postgresql/server" || return 1
- sed -e 's:$(BLDSHARED):& $(LDFLAGS):' -i Makefile
- }
- python_execute_function -s configuration
-}
-
-src_compile() {
- python_src_compile OPT="${CFLAGS}" LDFLAGS="${LDFLAGS}"
-}
-
-src_install () {
- python_src_install
-
- dodoc AUTHORS ChangeLog CREDITS README NEWS RELEASE-1.0 SUCCESS TODO
- docinto doc
- dodoc doc/python-taylor.txt doc/README
- insinto /usr/share/doc/${PF}/examples
- doins doc/examples/*
-}
diff --git a/dev-python/psycopg/psycopg-2.4.6-r1.ebuild b/dev-python/psycopg/psycopg-2.4.6-r1.ebuild
deleted file mode 100644
index 39327ba6568a..000000000000
--- a/dev-python/psycopg/psycopg-2.4.6-r1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-2.4.6-r1.ebuild,v 1.5 2013/09/05 18:46:24 mgorny Exp $
-
-EAPI=5
-PYTHON_COMPAT=( python{2_6,2_7,3_2} )
-
-inherit distutils-r1 flag-o-matic
-
-MY_PN="${PN}2"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="PostgreSQL database adapter for Python"
-HOMEPAGE="http://initd.org/psycopg/ http://pypi.python.org/pypi/psycopg2"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="2"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
-IUSE="debug doc examples"
-
-RDEPEND=">=dev-db/postgresql-base-8.1"
-DEPEND="${RDEPEND}
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
-
-RESTRICT="test"
-
-S="${WORKDIR}/${MY_P}"
-
-python_compile() {
- local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
-
- [[ ${EPYTHON} != python3* ]] && append-flags -fno-strict-aliasing
-
- distutils-r1_python_compile
-}
-
-python_prepare_all() {
- local PATCHES=(
- "${FILESDIR}/${PN}-2.4.2-setup.py.patch"
- "${FILESDIR}/${PN}-2.0.9-round-solaris.patch"
- )
-
- if use debug; then
- sed -i 's/^\(define=\)/\1PSYCOPG_DEBUG,/' setup.cfg || die
- fi
-
-# if use mxdatetime; then
-# sed -i 's/\(use_pydatetime=\)1/\10/' setup.cfg || die
-# fi
-
- distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
- use doc && emake -C doc -j1 html text
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- dodoc doc/{HACKING,SUCCESS}
-
- if use doc; then
- dodoc doc/psycopg2.txt
- dohtml -r doc/html/.
- fi
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins -r examples/.
- fi
-}
diff --git a/dev-python/psycopg/psycopg-2.4.6-r2.ebuild b/dev-python/psycopg/psycopg-2.4.6-r2.ebuild
deleted file mode 100644
index aae3396f0155..000000000000
--- a/dev-python/psycopg/psycopg-2.4.6-r2.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-2.4.6-r2.ebuild,v 1.2 2013/09/05 18:46:24 mgorny Exp $
-
-EAPI=5
-PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
-
-inherit distutils-r1 flag-o-matic
-
-MY_PN="${PN}2"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="PostgreSQL database adapter for Python"
-HOMEPAGE="http://initd.org/psycopg/ http://pypi.python.org/pypi/psycopg2"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="2"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
-IUSE="debug doc examples"
-
-RDEPEND=">=dev-db/postgresql-base-8.1"
-DEPEND="${RDEPEND}
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
-
-RESTRICT="test"
-
-S="${WORKDIR}/${MY_P}"
-
-python_compile() {
- local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
-
- [[ ${EPYTHON} != python3* ]] && append-flags -fno-strict-aliasing
-
- distutils-r1_python_compile
-}
-
-python_prepare_all() {
- local PATCHES=(
- "${FILESDIR}/${PN}-2.4.2-setup.py.patch"
- "${FILESDIR}/${PN}-2.0.9-round-solaris.patch"
- )
-
- if use debug; then
- sed -i 's/^\(define=\)/\1PSYCOPG_DEBUG,/' setup.cfg || die
- fi
-
-# if use mxdatetime; then
-# sed -i 's/\(use_pydatetime=\)1/\10/' setup.cfg || die
-# fi
-
- distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
- use doc && emake -C doc -j1 html text
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- dodoc doc/{HACKING,SUCCESS}
-
- if use doc; then
- dodoc doc/psycopg2.txt
- dohtml -r doc/html/.
- fi
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins -r examples/.
- fi
-}
diff --git a/dev-python/psycopg/psycopg-2.5.ebuild b/dev-python/psycopg/psycopg-2.5.ebuild
deleted file mode 100644
index a8110cd665e7..000000000000
--- a/dev-python/psycopg/psycopg-2.5.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-2.5.ebuild,v 1.2 2013/09/05 18:46:24 mgorny Exp $
-
-EAPI=5
-PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
-
-inherit distutils-r1 flag-o-matic
-
-MY_PN="${PN}2"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="PostgreSQL database adapter for Python"
-HOMEPAGE="http://initd.org/psycopg/ http://pypi.python.org/pypi/psycopg2"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="2"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
-IUSE="debug doc examples"
-
-RDEPEND=">=dev-db/postgresql-base-8.1"
-DEPEND="${RDEPEND}
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
-
-RESTRICT="test"
-
-S="${WORKDIR}/${MY_P}"
-
-python_compile() {
- local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
-
- [[ ${EPYTHON} != python3* ]] && append-flags -fno-strict-aliasing
-
- distutils-r1_python_compile
-}
-
-python_prepare_all() {
- local PATCHES=(
- "${FILESDIR}/${PN}-2.4.2-setup.py.patch"
- "${FILESDIR}/${PN}-2.0.9-round-solaris.patch"
- )
-
- if use debug; then
- sed -i 's/^\(define=\)/\1PSYCOPG_DEBUG,/' setup.cfg || die
- fi
-
-# if use mxdatetime; then
-# sed -i 's/\(use_pydatetime=\)1/\10/' setup.cfg || die
-# fi
-
- distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
- use doc && emake -C doc -j1 html text
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- dodoc doc/{HACKING,SUCCESS}
-
- if use doc; then
- dodoc doc/psycopg2.txt
- dohtml -r doc/html/.
- fi
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins -r examples/.
- fi
-}