Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/rdflib: rdflib-4.2.0.ebuild ChangeLog
Date: Sat, 28 Feb 2015 07:35:53
Message-Id: 20150228073547.3E69312B84@oystercatcher.gentoo.org
1 patrick 15/02/28 07:35:47
2
3 Modified: ChangeLog
4 Added: rdflib-4.2.0.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.17/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.52 dev-python/rdflib/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/rdflib/ChangeLog?rev=1.52&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/rdflib/ChangeLog?rev=1.52&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/rdflib/ChangeLog?r1=1.51&r2=1.52
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/rdflib/ChangeLog,v
20 retrieving revision 1.51
21 retrieving revision 1.52
22 diff -u -r1.51 -r1.52
23 --- ChangeLog 2 Feb 2015 14:42:20 -0000 1.51
24 +++ ChangeLog 28 Feb 2015 07:35:47 -0000 1.52
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/rdflib
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/rdflib/ChangeLog,v 1.51 2015/02/02 14:42:20 mrueg Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/rdflib/ChangeLog,v 1.52 2015/02/28 07:35:47 patrick Exp $
30 +
31 +*rdflib-4.2.0 (28 Feb 2015)
32 +
33 + 28 Feb 2015; Patrick Lauer <patrick@g.o> +rdflib-4.2.0.ebuild:
34 + Bump
35
36 02 Feb 2015; Manuel RĂ¼ger <mrueg@g.o> -rdflib-3.2.3.ebuild:
37 Remove old.
38
39
40
41 1.1 dev-python/rdflib/rdflib-4.2.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/rdflib/rdflib-4.2.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/rdflib/rdflib-4.2.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: rdflib-4.2.0.ebuild
47 ===================================================================
48 # Copyright 1999-2015 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/rdflib/rdflib-4.2.0.ebuild,v 1.1 2015/02/28 07:35:47 patrick Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
55 PYTHON_REQ_USE="sqlite?"
56 DISTUTILS_NO_PARALLEL_BUILD=true
57 # The usual required for tests
58 DISTUTILS_IN_SOURCE_BUILD=1
59
60 inherit distutils-r1
61
62 DESCRIPTION="RDF library containing a triple store and parser/serializer"
63 HOMEPAGE="https://github.com/RDFLib/rdflib http://pypi.python.org/pypi/rdflib"
64 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
65
66 LICENSE="BSD"
67 SLOT="0"
68 KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
69 IUSE="berkdb examples mysql redland sqlite test"
70
71 RDEPEND="
72 dev-python/isodate[${PYTHON_USEDEP}]
73 dev-python/html5lib[$(python_gen_usedep 'python2*')]
74 dev-python/pyparsing[${PYTHON_USEDEP}]
75 berkdb? ( dev-python/bsddb3[${PYTHON_USEDEP}] )
76 mysql? ( dev-python/mysql-python[$(python_gen_usedep 'python2*')] )
77 redland? ( dev-libs/redland-bindings[python,$(python_gen_usedep 'python2*')] )"
78 DEPEND="${RDEPEND}
79 dev-python/setuptools[${PYTHON_USEDEP}]
80 test? ( dev-python/sparql-wrapper[${PYTHON_USEDEP}]
81 >=dev-python/nose-1.3.1-r1[${PYTHON_USEDEP}] )"
82
83 python_prepare_all() {
84 # Upstream manufactured .pyc files which promptly break distutils' src_test
85 find -name "*.py[oc~]" -delete || die
86 distutils-r1_python_prepare_all
87 }
88
89 python_test() {
90 if python_is_python3; then
91 pushd "${BUILD_DIR}/src/" > /dev/null
92 if [[ "${EPYTHON}" == 'python3.4' ]]; then
93 sed -e 's:test_rdfpipe_bytes_vs_str:_&:' \
94 -e 's:test_rdfpipe_mdata_open:_&:' \
95 -i test/test_issue375.py || die
96 sed -e 's:testHTML:_&:' \
97 -i test/test_xmlliterals.py || die
98 fi
99 "${PYTHON}" ./run_tests.py || die "Tests failed under ${EPYTHON}"
100 popd > /dev/null
101 else
102 "${PYTHON}" ./run_tests.py || die "Tests failed under ${EPYTHON}"
103 fi
104 }
105
106 python_install_all() {
107 use examples && local EXAMPLES=( examples/. )
108 distutils-r1_python_install_all
109 }