diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-04-15 04:35:45 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-04-15 04:35:45 +0000 |
commit | 4fc05965d03e91af22c01608394912dc8ccf1309 (patch) | |
tree | b6ebf60df4101b17c913161ad76613edc8429315 /dev-python/psycopg | |
parent | Bump for #411985 (diff) | |
download | historical-4fc05965d03e91af22c01608394912dc8ccf1309.tar.gz historical-4fc05965d03e91af22c01608394912dc8ccf1309.tar.bz2 historical-4fc05965d03e91af22c01608394912dc8ccf1309.zip |
Bump for #411891
Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64
Diffstat (limited to 'dev-python/psycopg')
-rw-r--r-- | dev-python/psycopg/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/psycopg/Manifest | 14 | ||||
-rw-r--r-- | dev-python/psycopg/psycopg-2.4.5.ebuild | 78 |
3 files changed, 87 insertions, 12 deletions
diff --git a/dev-python/psycopg/ChangeLog b/dev-python/psycopg/ChangeLog index 181eb525c0ef..5636a1837fbf 100644 --- a/dev-python/psycopg/ChangeLog +++ b/dev-python/psycopg/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/psycopg # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.142 2012/02/23 10:16:40 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.143 2012/04/15 04:35:45 patrick Exp $ + +*psycopg-2.4.5 (15 Apr 2012) + + 15 Apr 2012; Patrick Lauer <patrick@gentoo.org> +psycopg-2.4.5.ebuild: + Bump for #411891 23 Feb 2012; Patrick Lauer <patrick@gentoo.org> psycopg-1.1.21.ebuild, psycopg-2.4.1.ebuild, psycopg-2.4.2.ebuild, psycopg-2.4.4.ebuild: diff --git a/dev-python/psycopg/Manifest b/dev-python/psycopg/Manifest index be6b02d84542..da4e06652280 100644 --- a/dev-python/psycopg/Manifest +++ b/dev-python/psycopg/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 - AUX psycopg-2.0.12-setup.py.patch 412 RMD160 e41c9f6c00225ad9a498bf76768ec77c7fe0d6ed SHA1 a03211413db7aaf85283092684af280092d2cca9 SHA256 adf69fd37c12e2d6fe39fd9a785535108d409486835e2750430f97f4cb26c65d AUX psycopg-2.0.9-round-solaris.patch 449 RMD160 1915c539e6ed5341d4b198e404a97a2953edfc79 SHA1 837d650b0c296df3a80b0d6771cdaf2b1f8ba9cf SHA256 d7334adca500aea1b09d3ee809cedb0c719659db95398175f4354939e2dd5b55 AUX psycopg-2.4.2-begin-segfault.patch 1370 RMD160 f71b91439e8c665cc0993a590ba905a3ffb8a17a SHA1 2e7b6c4efa1aac4df801533ae9e47bda7b7e8ef0 SHA256 83566d6bb66fd09acb0bdb8982c60d8f4e98e5065fdf9380718c0d51fe237278 @@ -9,16 +6,11 @@ DIST psycopg-1.1.21.tar.gz 213753 RMD160 de74a70b16353f69de7e898059a7a1d8418ad2e DIST psycopg2-2.4.1.tar.gz 398200 RMD160 8dba50c654995e8c13da877450cd4cc4467e88da SHA1 a87ac467e853405d9a8eb69f78509bcc16473e0b SHA256 f8ee9a4004afbd1ff1a1db8df7910475d6ec26e102aa92c9214cbeb1ef39ff49 DIST psycopg2-2.4.2.tar.gz 667192 RMD160 2543f7d025434defcc66c69f7ae19737f6417a69 SHA1 d1515b43de3923180268a8b29c0a8c7eb04c2ae3 SHA256 c5f0f853aeeefc7b2aa73b08579e5d74c4c32ad5fca87e058bf04e08273a41a1 DIST psycopg2-2.4.4.tar.gz 648954 RMD160 b9a3aa4f18c17ae2e5603679d3dd818666b4a029 SHA1 d8a98dbb4fed1a5871c658d2b35fe8c92293086a SHA256 0c55b059d33f6b2cbb52f254320832c0ca30498ae06f4f4df2a2b38af989127e +DIST psycopg2-2.4.5.tar.gz 719343 RMD160 4de915ed108a60ccb7f52e67d7d1e3700a38cd28 SHA1 848b2130d948376e1b962faf72f3a2c93dfb5599 SHA256 48b702a7ca479e1bc2c1a7b81875a07d474298132605993e2cb979f5e08277d7 EBUILD psycopg-1.1.21.ebuild 1420 RMD160 c34cca8fbdeaac07fbb3658523e678402a725451 SHA1 3669a0e7fc1550332450e94ff50786b89f528ed8 SHA256 e1709c4fb81a1ed98ef86e7ad2d566de08e375f7d25f182c5ca5b779ad391d7b EBUILD psycopg-2.4.1.ebuild 2034 RMD160 ece360cac0bf4bb34325c89bd6cf765372e08f24 SHA1 aed4e03e22bff10973433d851402147d302e7adc SHA256 52d0050cbb763badce52af449c6c0d597b5b2d471549306498df17d4b71d7dfd EBUILD psycopg-2.4.2.ebuild 2074 RMD160 853750ca8479cee3a56d212ba49762367575975b SHA1 658b1762834d773a1cad608e7ebd122a0e295029 SHA256 b0131a759f1542d463fe51444d7a129e5a77a5e20f86bb9ded1b10b01a32a3fc EBUILD psycopg-2.4.4.ebuild 2040 RMD160 5c313292ce51736df1d1b1bab855b6dc9acd7613 SHA1 deede8a77f276847ef910032e88f61b953ffe6f7 SHA256 be14e86d15f066628e418357e026d32cb7bf172d93c4e571820d80e665990148 -MISC ChangeLog 18465 RMD160 14f0e27ba7e6c9403dba2d0067fe2b78a9530170 SHA1 573b4e7ea7bea46e8c816e446d5942620c95e347 SHA256 731385659ab8b90f675608047f1a8e7cc2b731670e3e5e260fe424f0e241cbd3 +EBUILD psycopg-2.4.5.ebuild 2040 RMD160 0334ba65078b0e852bc4fb82274c1e2ee1ef0237 SHA1 3af4ed4f989987ea0d7850e72277d137400f0722 SHA256 1cd4c30a8a053befaa1575eae3ca3facd60e6b92151991ece0a150812707a9ef +MISC ChangeLog 18588 RMD160 92fb28b3851439a7abebfb67173ed186800d1d0e SHA1 852a770b47a09b8ecaae912a0caa06876ec5ff9c SHA256 5fbd8b82a2187ba372b574ee596b1dc74198d09283326026326bb354a40ec456 MISC metadata.xml 366 RMD160 0127befe982c4a09bd175c9d41388054e05b3609 SHA1 419a1b3397dfdefdc7ff3018542cbdc45e2d8a45 SHA256 3c1239649781491e78ba63077192460561be54da50d7527d593ad5bc1e74a04c ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) - -iEYEAREKAAYFAk93SsMACgkQuUQtlDBCeQKi8QCeJGF2wsL/FiPrRV3Q0Hrd9CAW -lIoAnjaes0dDM9eOgGc4Oeopab2knRI8 -=Ca4e ------END PGP SIGNATURE----- diff --git a/dev-python/psycopg/psycopg-2.4.5.ebuild b/dev-python/psycopg/psycopg-2.4.5.ebuild new file mode 100644 index 000000000000..0845a3471d45 --- /dev/null +++ b/dev-python/psycopg/psycopg-2.4.5.ebuild @@ -0,0 +1,78 @@ +# 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-2.4.5.ebuild,v 1.1 2012/04/15 04:35:45 patrick Exp $ + +EAPI="3" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-* *-jython" + +inherit distutils eutils + +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 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" +IUSE="debug doc examples mxdatetime" + +RDEPEND=">=dev-db/postgresql-base-8.1 + mxdatetime? ( dev-python/egenix-mx-base )" +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx )" +RESTRICT="test" + +S="${WORKDIR}/${MY_P}" + +PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") + +DOCS="AUTHORS doc/HACKING doc/SUCCESS" +PYTHON_MODNAME="${PN}2" + +src_prepare() { + epatch "${FILESDIR}/${PN}-2.4.2-setup.py.patch" + epatch "${FILESDIR}/${PN}-2.0.9-round-solaris.patch" + + python_convert_shebangs 2 doc/src/tools/stitch_text.py + + if use debug; then + sed -i 's/^\(define=\)/\1PSYCOPG_DEBUG,/' setup.cfg || die "sed failed" + fi + + if use mxdatetime; then + sed -i 's/\(use_pydatetime=\)1/\10/' setup.cfg || die "sed failed" + fi +} + +src_compile() { + distutils_src_compile + + if use doc; then + einfo "Generation of documentation" + pushd doc > /dev/null + emake -j1 html text || die "Generation of documentation failed" + popd > /dev/null + fi +} + +src_install() { + distutils_src_install + + if use doc; then + dodoc doc/psycopg2.txt || die "dodoc failed" + + pushd doc/html > /dev/null + insinto /usr/share/doc/${PF}/html + doins -r [a-z]* _static || die "Installation of documentation failed" + popd > /dev/null + fi + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r examples/* || die "Installation of examples failed" + fi +} |