prometheanfire    15/07/25 04:06:47

  Modified:             ChangeLog
  Added:                suds-0.6-r1.ebuild
  Log:
  adding tests/doc stuff from bug 498022
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
0x33ED3FD25AFC78BA)

Revision  Changes    Path
1.17                 dev-python/suds/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/suds/ChangeLog?rev=1.17&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/suds/ChangeLog?rev=1.17&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/suds/ChangeLog?r1=1.16&r2=1.17

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/suds/ChangeLog,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ChangeLog   24 Jul 2015 05:58:16 -0000      1.16
+++ ChangeLog   25 Jul 2015 04:06:47 -0000      1.17
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/suds
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/suds/ChangeLog,v 1.16 2015/07/24 
05:58:16 prometheanfire Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/suds/ChangeLog,v 1.17 2015/07/25 
04:06:47 prometheanfire Exp $
+
+*suds-0.6-r1 (25 Jul 2015)
+
+  25 Jul 2015; Matthew Thode <prometheanf...@gentoo.org> +suds-0.6-r1.ebuild:
+  adding tests/doc stuff from bug 498022
 
 *suds-0.6 (24 Jul 2015)
 



1.1                  dev-python/suds/suds-0.6-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/suds/suds-0.6-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/suds/suds-0.6-r1.ebuild?rev=1.1&content-type=text/plain

Index: suds-0.6-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/suds/suds-0.6-r1.ebuild,v 1.1 
2015/07/25 04:06:47 prometheanfire Exp $

EAPI=5
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
DISTUTILS_IN_SOURCE_BUILD=1

inherit distutils-r1

DESCRIPTION="Lightweight SOAP client (Jurko's fork) (py3 support) (active 
development)"
HOMEPAGE="http://bitbucket.org/jurko/suds";
SRC_URI="mirror://pypi/${PN:0:1}/${PN}-jurko/${PN}-jurko-${PV}.tar.bz2 -> 
${P}.tar.bz2"
S="${WORKDIR}/${PN}-jurko-${PV}"

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"

DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
        doc? ( dev-python/epydoc[$(python_gen_usedep 'python2*')] )
        test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
RDEPEND=""

DOCS=( README.rst 
notes/{argument_parsing.rst,readme.txt,traversing_client_data.rst} )

#python_prepare() {
#       rm -R tests
#}

python_compile() {
        distutils-r1_python_compile
        use doc && epydoc -n "Suds - ${DESCRIPTION}" -o doc suds || die
        # to say that it's both, because it kinda is...
}

python_test() {
        esetup.py test
}

python_install_all() {
        use doc && local HTML_DOCS=( doc/. )
        distutils-r1_python_install_all
}

python_install() {
        # test folder makes for file collisions by the eclass
        sed -i -e '/^tests/d' suds_jurko.egg-info/top_level.txt 
suds_jurko.egg-info/SOURCES.txt || die
        cp -r suds_jurko.egg-info suds.egg-info || die
        sed -i -e 's/Name\:\ suds-jurko/Name:\ suds/g' -e '/^Obsoletes/d' 
suds.egg-info/PKG-INFO || die
        rm -rf ./{tests,build/lib/tests,lib/tests}/ || die
        distutils-r1_python_install
}




Reply via email to