diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-02-14 17:49:25 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-02-14 17:49:25 +0000 |
commit | 86ad4893a5b7337ea2db4945b7aa4d7a6347e58d (patch) | |
tree | 7b7e1d3011400c3acf96265b4f6d0e5ead64e7c1 /dev-python/m2crypto | |
parent | [sci-chemistry/icm-browser] Version bump (diff) | |
download | historical-86ad4893a5b7337ea2db4945b7aa4d7a6347e58d.tar.gz historical-86ad4893a5b7337ea2db4945b7aa4d7a6347e58d.tar.bz2 historical-86ad4893a5b7337ea2db4945b7aa4d7a6347e58d.zip |
Delete older ebuilds.
Diffstat (limited to 'dev-python/m2crypto')
-rw-r--r-- | dev-python/m2crypto/files/m2crypto-0.18.2-resume_session.patch | 31 | ||||
-rw-r--r-- | dev-python/m2crypto/m2crypto-0.19.1.ebuild | 54 | ||||
-rw-r--r-- | dev-python/m2crypto/m2crypto-0.20.1.ebuild | 53 |
3 files changed, 0 insertions, 138 deletions
diff --git a/dev-python/m2crypto/files/m2crypto-0.18.2-resume_session.patch b/dev-python/m2crypto/files/m2crypto-0.18.2-resume_session.patch deleted file mode 100644 index 6c9ad472bc24..000000000000 --- a/dev-python/m2crypto/files/m2crypto-0.18.2-resume_session.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- tests/test_ssl.py 2008-06-27 13:09:26.000000000 +0300 -+++ tests/test_ssl.py 2008-06-27 13:38:33.000000000 +0300 -@@ -131,20 +131,22 @@ - ses = c.get_session() - t = ses.as_text() - data = c.getresponse().read() -- c.close() -+ # Appearently closing connection here screws session -+ # c.close() - - ctx2 = SSL.Context() - ctx2.load_verify_locations(cafile='tests/ca.pem') - ctx2.load_cert('tests/x509.pem') - ctx2.set_verify(SSL.verify_peer | SSL.verify_fail_if_no_peer_cert, 1) - ctx2.set_session_cache_mode(m2.SSL_SESS_CACHE_CLIENT) -- c = httpslib.HTTPSConnection(srv_host, srv_port, ssl_context=ctx2) -- c.set_session(ses) -- c.request('GET', '/') -- ses2 = c.get_session() -+ c2 = httpslib.HTTPSConnection(srv_host, srv_port, ssl_context=ctx2) -+ c2.set_session(ses) -+ c2.request('GET', '/') -+ ses2 = c2.get_session() - t2 = ses2.as_text() -- data = c.getresponse().read() -+ data = c2.getresponse().read() - c.close() -+ c2.close() - assert t == t2, "Sessions did not match" - finally: - self.stop_server(pid) diff --git a/dev-python/m2crypto/m2crypto-0.19.1.ebuild b/dev-python/m2crypto/m2crypto-0.19.1.ebuild deleted file mode 100644 index a1518d9c91fc..000000000000 --- a/dev-python/m2crypto/m2crypto-0.19.1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/m2crypto/m2crypto-0.19.1.ebuild,v 1.5 2009/07/17 18:11:10 nixnut Exp $ - -EAPI="2" - -inherit distutils eutils multilib portability - -MY_PN="M2Crypto" - -DESCRIPTION="A python wrapper for the OpenSSL crypto library" -HOMEPAGE="http://chandlerproject.org/bin/view/Projects/MeTooCrypto" -SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd" -IUSE="doc" - -RDEPEND=">=dev-libs/openssl-0.9.8" -DEPEND="${RDEPEND} - >=dev-lang/swig-1.3.25 - doc? ( dev-python/epydoc ) - dev-python/setuptools" - -PYTHON_MODNAME="${MY_PN}" - -S="${WORKDIR}/${MY_PN}-${PV}" - -src_prepare() { - epatch "${FILESDIR}/${PN}-0.18.2-resume_session.patch" -} - -src_install() { - DOCS="CHANGES INSTALL" - distutils_src_install - - if use doc; then - cd "${S}/demo" - treecopy . "${D}/usr/share/doc/${PF}/example" - - einfo "Generating API docs as requested..." - cd "${S}/doc" - distutils_python_version - export PYTHONPATH="${PYTHONPATH}:${D}/usr/$(get_libdir)/python${PYVER}/site-packages" - einfo "${PYTHONPATH}" - epydoc --html --output=api --name=M2Crypto M2Crypto - fi - dohtml -r * -} - -src_test() { - "${python}" setup.py test || die "test failed" -} diff --git a/dev-python/m2crypto/m2crypto-0.20.1.ebuild b/dev-python/m2crypto/m2crypto-0.20.1.ebuild deleted file mode 100644 index 1e94d3ee1b5d..000000000000 --- a/dev-python/m2crypto/m2crypto-0.20.1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/m2crypto/m2crypto-0.20.1.ebuild,v 1.5 2009/11/11 00:11:17 ranger Exp $ - -EAPI="2" -SUPPORT_PYTHON_ABIS="1" - -inherit distutils eutils multilib portability - -MY_PN="M2Crypto" - -DESCRIPTION="A python wrapper for the OpenSSL crypto library" -HOMEPAGE="http://chandlerproject.org/bin/view/Projects/MeTooCrypto" -SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd" -IUSE="doc" - -RDEPEND=">=dev-libs/openssl-0.9.8" -DEPEND="${RDEPEND} - >=dev-lang/swig-1.3.25 - doc? ( dev-python/epydoc ) - dev-python/setuptools" -RESTRICT_PYTHON_ABIS="3.*" - -PYTHON_MODNAME="${MY_PN}" - -S="${WORKDIR}/${MY_PN}-${PV}" - -DOCS="CHANGES" - -src_test() { - testing() { - PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test - } - python_execute_function testing -} - -src_install() { - distutils_src_install - - if use doc; then - cd "${S}/demo" - treecopy . "${D}/usr/share/doc/${PF}/example" - - einfo "Generating API documentation..." - cd "${S}/doc" - PYTHONPATH="${PYTHONPATH}:${D}$(python_get_sitedir)" epydoc --html --output=api --name=M2Crypto M2Crypto - fi - dohtml -r * -} |