dev-python/pyclipper: New package needed for noto-emoji
authorPacho Ramos <pacho@gentoo.org>
Sun, 14 Oct 2018 19:40:13 +0000 (21:40 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 14 Oct 2018 19:43:50 +0000 (21:43 +0200)
Bug: https://bugs.gentoo.org/616974
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

dev-python/pyclipper/Manifest [new file with mode: 0644]
dev-python/pyclipper/metadata.xml [new file with mode: 0644]
dev-python/pyclipper/pyclipper-1.1.0.ebuild [new file with mode: 0644]

diff --git a/dev-python/pyclipper/Manifest b/dev-python/pyclipper/Manifest
new file mode 100644 (file)
index 0000000..95b30bf
--- /dev/null
@@ -0,0 +1 @@
+DIST pyclipper-1.1.0.tar.gz 53916 BLAKE2B 53b7b6609d602cdcbd8c8f4ceaed999c97e155747f7daeb630333f18fd2719040d118c8fa3d0e60a1ccd92c20aecb355ec9d4f9c22f66dc07b14a919f981f667 SHA512 53371bc2e0439f72ac4ebf96f833c4451d2b1924d7f9cddcbac79a0a6d6bd95ac1fb3fb08e3ea3fcf3ffe22cd718d31c7c528016605b275a3e80642e58546d74
diff --git a/dev-python/pyclipper/metadata.xml b/dev-python/pyclipper/metadata.xml
new file mode 100644 (file)
index 0000000..3da97a9
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>pacho@gentoo.org</email>
+               <name>Pacho Ramos</name>
+       </maintainer>
+</pkgmetadata>
diff --git a/dev-python/pyclipper/pyclipper-1.1.0.ebuild b/dev-python/pyclipper/pyclipper-1.1.0.ebuild
new file mode 100644 (file)
index 0000000..98a6fe8
--- /dev/null
@@ -0,0 +1,27 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{6,7} )
+inherit distutils-r1
+
+DESCRIPTION="Cython wrapper for the C++ translation of the Angus Johnson's Clipper library"
+HOMEPAGE="https://github.com/fonttools/pyclipper"
+SRC_URI="https://github.com/fonttools/pyclipper/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+       dev-python/cython[${PYTHON_USEDEP}]
+       dev-python/setuptools-git[${PYTHON_USEDEP}]
+       dev-python/setuptools_scm[${PYTHON_USEDEP}]
+"
+RDEPEND=""
+
+python_test() {
+       esetup.py test
+}