diff options
Diffstat (limited to 'dev-python/python-nss')
-rw-r--r-- | dev-python/python-nss/ChangeLog | 11 | ||||
-rw-r--r-- | dev-python/python-nss/python-nss-0.12-r1.ebuild | 45 | ||||
-rw-r--r-- | dev-python/python-nss/python-nss-0.12.ebuild | 53 | ||||
-rw-r--r-- | dev-python/python-nss/python-nss-0.8-r1.ebuild | 51 | ||||
-rw-r--r-- | dev-python/python-nss/python-nss-0.8.ebuild | 49 |
5 files changed, 53 insertions, 156 deletions
diff --git a/dev-python/python-nss/ChangeLog b/dev-python/python-nss/ChangeLog index 88cdbe03312a..8b166993fe54 100644 --- a/dev-python/python-nss/ChangeLog +++ b/dev-python/python-nss/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/python-nss -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-nss/ChangeLog,v 1.6 2012/02/22 02:48:23 patrick Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-nss/ChangeLog,v 1.7 2015/01/05 23:47:47 idella4 Exp $ + +*python-nss-0.12-r1 (05 Jan 2015) + + 05 Jan 2015; Ian Delaney <idella4@gentoo.org> +python-nss-0.12-r1.ebuild, + -python-nss-0.12.ebuild, -python-nss-0.8-r1.ebuild, -python-nss-0.8.ebuild: + revbump; conversion -> distutils-r1, rm old versions and disused patch 22 Feb 2012; Patrick Lauer <patrick@gentoo.org> python-nss-0.12.ebuild, python-nss-0.8-r1.ebuild, python-nss-0.8.ebuild: @@ -29,4 +35,3 @@ 30 Oct 2011; Maxim Koltsov <maksbotan@gentoo.org> +python-nss-0.8.ebuild, +files/gentoo_lib_name.patch, +metadata.xml: Add dev-python/python-nss, thanks to slepnoga. Bug #305881 - diff --git a/dev-python/python-nss/python-nss-0.12-r1.ebuild b/dev-python/python-nss/python-nss-0.12-r1.ebuild new file mode 100644 index 000000000000..a3fb3897f397 --- /dev/null +++ b/dev-python/python-nss/python-nss-0.12-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-nss/python-nss-0.12-r1.ebuild,v 1.1 2015/01/05 23:47:47 idella4 Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 versionator + +MY_PV="$(replace_all_version_separators '_' )_0" +DESCRIPTION="Python bindings for Network Security Services (NSS)" +HOMEPAGE="http://www.mozilla.org/projects/security/pki/python-nss/" +SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/security/${PN}/releases/PYNSS_RELEASE_${MY_PV}/src/${P}.tar.bz2" + +LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +DEPEND="dev-libs/nss + dev-libs/nspr + doc? ( dev-python/docutils[${PYTHON_USEDEP}] + dev-python/epydoc[${PYTHON_USEDEP}] )" +RDEPEND="${DEPEND}" + +CFLAGS="${CFLAGS} -fno-strict-aliasing" +DOCS="README doc/ChangeLog" +# RHB #754750 ; bgo #390869 +PATCHES=( "${FILESDIR}/python-nss-0.12-rsapssparams.patch" ) + +python_compile_all() { + if use doc; then + einfo "Generating API documentation..." + mkdir doc/html + epydoc --html --docformat restructuredtext -o doc/html \ + "${BUILD_DIR}"/lib/nss + fi +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/html/. ) + use examples && local EXAMPLES=( doc/examples/. ) + + distutils-r1_python_install_all +} diff --git a/dev-python/python-nss/python-nss-0.12.ebuild b/dev-python/python-nss/python-nss-0.12.ebuild deleted file mode 100644 index 9fe9734c1860..000000000000 --- a/dev-python/python-nss/python-nss-0.12.ebuild +++ /dev/null @@ -1,53 +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/python-nss/python-nss-0.12.ebuild,v 1.3 2012/02/22 02:48:23 patrick Exp $ - -EAPI="4" - -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.* *-jython" - -inherit distutils eutils versionator - -MY_PV="$(replace_all_version_separators '_' )_0" -DESCRIPTION="Python bindings for Network Security Services (NSS)" -HOMEPAGE="http://www.mozilla.org/projects/security/pki/python-nss/" -SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/security/${PN}/releases/PYNSS_RELEASE_${MY_PV}/src/${P}.tar.bz2" - -LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2 )" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc" - -DEPEND="dev-libs/nss - dev-libs/nspr - doc? ( dev-python/docutils - dev-python/epydoc )" - -RDEPEND="${DEPEND}" - -DOCS="README doc/ChangeLog" - -src_prepare() { - # RHB #754750 ; bgo #390869 - epatch "${FILESDIR}/python-nss-0.12-rsapssparams.patch" -} - -src_install() { - distutils_src_install - - if use doc; then - einfo "Generating API documentation..." - - mkdir "${S}"/doc/html - PYTHONPATH="${ED}$(python_get_sitedir -f)" epydoc --html --docformat restructuredtext \ - -o "${S}"/doc/html \ - "$(ls -d build-$(PYTHON -f --ABI)/lib.*)/nss" - - dohtml -r "${S}"/doc/html/ - insinto /usr/share/doc/"${PF}" - doins -r ./test - insinto /usr/share/doc/"${PF}"/examples - doins doc/examples/*.py - fi -} diff --git a/dev-python/python-nss/python-nss-0.8-r1.ebuild b/dev-python/python-nss/python-nss-0.8-r1.ebuild deleted file mode 100644 index f51ac7b1bb65..000000000000 --- a/dev-python/python-nss/python-nss-0.8-r1.ebuild +++ /dev/null @@ -1,51 +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/python-nss/python-nss-0.8-r1.ebuild,v 1.3 2012/02/22 02:48:23 patrick Exp $ - -EAPI="3" - -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.* *-jython" - -inherit distutils eutils - -DESCRIPTION="Python bindings for Network Security Services (NSS)" -HOMEPAGE="http://www.mozilla.org/projects/security/pki/python-nss/" -SRC_URI="http://rion-overlay.googlecode.com/files/${P}.tar.lzma" - -LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2 )" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc" - -DEPEND="dev-libs/nss - dev-libs/nspr - doc? ( dev-python/docutils - dev-python/epydoc )" - -RDEPEND="${DEPEND}" - -DOCS="README doc/ChangeLog" - -src_prepare() { - epatch "${FILESDIR}"/*.patch -} - -src_install() { - distutils_src_install - - if use doc; then - einfo "Generating API documentation..." - - mkdir "${S}"/doc/html - PYTHONPATH="${ED}$(python_get_sitedir -f)" epydoc --html --docformat restructuredtext \ - -o "${S}"/doc/html \ - "$(ls -d build-$(PYTHON -f --ABI)/lib.*)/nss" - - dohtml -r "${S}"/doc/html/ - insinto /usr/share/doc/"${PF}" - doins -r ./test - insinto /usr/share/doc/"${PF}"/examples - doins doc/examples/*.py - fi -} diff --git a/dev-python/python-nss/python-nss-0.8.ebuild b/dev-python/python-nss/python-nss-0.8.ebuild deleted file mode 100644 index 3600e1681287..000000000000 --- a/dev-python/python-nss/python-nss-0.8.ebuild +++ /dev/null @@ -1,49 +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/python-nss/python-nss-0.8.ebuild,v 1.3 2012/02/22 02:48:23 patrick Exp $ - -EAPI="3" - -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.* *-jython" - -inherit distutils eutils - -DESCRIPTION="Python bindings for Network Security Services (NSS)" -HOMEPAGE="http://www.mozilla.org/projects/security/pki/python-nss/" -SRC_URI="http://rion-overlay.googlecode.com/files/${P}.tar.lzma" - -LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2 )" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc" - -DEPEND="dev-libs/nss - dev-libs/nspr - doc? ( dev-python/docutils - dev-python/epydoc )" - -RDEPEND="${DEPEND}" - -DOCS="README doc/ChangeLog" - -src_prepare() { - epatch "${FILESDIR}"/*.patch -} - -src_install() { - distutils_src_install - - if use doc; then - einfo "Generating API documentation..." - - PYTHONPATH="${ED}$(python_get_sitedir -f)" epydoc --html --docformat restructuredtext \ - -o "${S}"/build-2.6/doc/html "${S}"/build-2.6/lib.linux-x86_64-2.6/nss - - dohtml -r "${S}/build/doc/"html/* - insinto /usr/share/doc/"${PF}" - doins -r ./test - insinto /usr/share/doc/"${PF}"/examples - doins doc/examples/*.py - fi -} |