Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyclipper/
Date: Wed, 29 Apr 2020 17:03:33
Message-Id: 1588179783.b57d82c389754f9a05c37c13f407ae29aa85bba0.pacho@gentoo
1 commit: b57d82c389754f9a05c37c13f407ae29aa85bba0
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 29 17:03:03 2020 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 29 17:03:03 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b57d82c3
7
8 dev-python/pyclipper: Fix version
9
10 Package-Manager: Portage-2.3.96, Repoman-2.3.22
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 dev-python/pyclipper/pyclipper-1.1.0_p3-r1.ebuild | 35 +++++++++++++++++++++++
14 1 file changed, 35 insertions(+)
15
16 diff --git a/dev-python/pyclipper/pyclipper-1.1.0_p3-r1.ebuild b/dev-python/pyclipper/pyclipper-1.1.0_p3-r1.ebuild
17 new file mode 100644
18 index 00000000000..e01613c52f8
19 --- /dev/null
20 +++ b/dev-python/pyclipper/pyclipper-1.1.0_p3-r1.ebuild
21 @@ -0,0 +1,35 @@
22 +# Copyright 1999-2020 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
28 +inherit distutils-r1
29 +
30 +DESCRIPTION="Cython wrapper for the C++ translation of the Angus Johnson's Clipper library"
31 +HOMEPAGE="https://github.com/fonttools/pyclipper"
32 +SRC_URI="https://github.com/fonttools/pyclipper/archive/${PV/_p/.post}.tar.gz -> ${P}.tar.gz"
33 +
34 +LICENSE="MIT"
35 +SLOT="0"
36 +KEYWORDS="~amd64"
37 +IUSE=""
38 +
39 +BDEPEND="
40 + dev-python/cython[${PYTHON_USEDEP}]
41 + dev-python/setuptools-git[${PYTHON_USEDEP}]
42 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
43 + dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
44 + test? ( dev-python/pytest-runner[${PYTHON_USEDEP}] )
45 +"
46 +RDEPEND=""
47 +DEPEND=""
48 +
49 +distutils_enable_tests pytest
50 +
51 +S="${WORKDIR}/${P/_p/.post}"
52 +
53 +src_prepare() {
54 + distutils-r1_src_prepare
55 + export SETUPTOOLS_SCM_PRETEND_VERSION="${PV/_p/.post}"
56 +}