Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyxdg/
Date: Mon, 18 Feb 2019 16:40:50
Message-Id: 1550508015.2f91ace561dfa0079dd853c7a820e2065cbe5c8a.sping@gentoo
1 commit: 2f91ace561dfa0079dd853c7a820e2065cbe5c8a
2 Author: Aidan Harris <mail <AT> aidanharris <DOT> io>
3 AuthorDate: Wed Feb 13 17:57:13 2019 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 18 16:40:15 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f91ace5
7
8 dev-python/pyxdg: python3.7 support
9
10 Closes: https://bugs.gentoo.org/677892
11 Closes: https://github.com/gentoo/gentoo/pull/11041
12 Package-Manager: Portage-2.3.60, Repoman-2.3.12
13 Signed-off-by: Aidan Harris <mail <AT> aidanharris.io>
14 Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
15
16 dev-python/pyxdg/pyxdg-0.26-r1.ebuild | 30 ++++++++++++++++++++++++++++++
17 1 file changed, 30 insertions(+)
18
19 diff --git a/dev-python/pyxdg/pyxdg-0.26-r1.ebuild b/dev-python/pyxdg/pyxdg-0.26-r1.ebuild
20 new file mode 100644
21 index 00000000000..f8810a58d4e
22 --- /dev/null
23 +++ b/dev-python/pyxdg/pyxdg-0.26-r1.ebuild
24 @@ -0,0 +1,30 @@
25 +# Copyright 1999-2019 Gentoo Authors
26 +# Distributed under the terms of the GNU General Public License v2
27 +
28 +EAPI=7
29 +
30 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} pypy )
31 +inherit distutils-r1
32 +
33 +MY_P=${PN}-rel-${PV}
34 +DESCRIPTION="A Python module to deal with freedesktop.org specifications"
35 +HOMEPAGE="https://freedesktop.org/wiki/Software/pyxdg https://cgit.freedesktop.org/xdg/pyxdg/"
36 +# official mirror of the git repo
37 +SRC_URI="https://github.com/takluyver/pyxdg/archive/rel-${PV}.tar.gz -> ${MY_P}.tar.gz"
38 +
39 +LICENSE="LGPL-2"
40 +SLOT="0"
41 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
42 +IUSE="test"
43 +
44 +DEPEND="
45 + test? (
46 + dev-python/nose[${PYTHON_USEDEP}]
47 + x11-themes/hicolor-icon-theme
48 + )"
49 +
50 +S=${WORKDIR}/${MY_P}
51 +
52 +python_test() {
53 + nosetests -v || die
54 +}