commit:     72554ba458022fdb820f8efbc936115a5001c1d7
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Dec  9 23:11:26 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Dec 11 15:20:16 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=72554ba4

dev-python/compreffor: new package

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/compreffor/Manifest                |  1 +
 dev-python/compreffor/compreffor-0.5.0.ebuild | 40 +++++++++++++++++++++++++++
 dev-python/compreffor/metadata.xml            | 12 ++++++++
 3 files changed, 53 insertions(+)

diff --git a/dev-python/compreffor/Manifest b/dev-python/compreffor/Manifest
new file mode 100644
index 00000000..3acc1a0e
--- /dev/null
+++ b/dev-python/compreffor/Manifest
@@ -0,0 +1 @@
+DIST compreffor-0.5.0.zip 86507 BLAKE2B 
3d019106018b4eaf5dd72e666881a3a94edd4fc48853d520c713e84d4009716b4f3bf9621a4be76c92753408780969271fd7924b6452b9049546ffb919cacb80
 SHA512 
cf42cfff8b98d2e6b76f688dda5d3d6bc7cc30fffcc512e9fae6eeacfce61fd4e2d448950e396f49e8ed5ccf1b50523168404b28b111985969e191e9fea063b9

diff --git a/dev-python/compreffor/compreffor-0.5.0.ebuild 
b/dev-python/compreffor/compreffor-0.5.0.ebuild
new file mode 100644
index 00000000..e6cd0da7
--- /dev/null
+++ b/dev-python/compreffor/compreffor-0.5.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.zip"
+KEYWORDS="~amd64"
+DESCRIPTION="A CFF table subroutinizer for FontTools"
+HOMEPAGE="https://github.com/googlefonts/compreffor";
+LICENSE="Apache-2.0"
+SLOT="0"
+
+RDEPEND="
+       >=dev-python/fonttools-4.2.0[${PYTHON_USEDEP}]
+"
+DEPEND="
+       ${RDEPEND}
+"
+BDEPEND="
+       app-arch/unzip
+       dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+       #undesired dependency
+       sed -i "s|setup_requires=pytest_runner + wheel,|setup_requires=wheel,|" 
setup.py
+       default
+}
+
+python_test() {
+       distutils_install_for_testing
+       default
+}

diff --git a/dev-python/compreffor/metadata.xml 
b/dev-python/compreffor/metadata.xml
new file mode 100644
index 00000000..bd2770ed
--- /dev/null
+++ b/dev-python/compreffor/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>lssndrbarbi...@gmail.com</email> 
+    <name>Alessandro Barbieri</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">googlefonts/compreffor</remote-id>
+    <remote-id type="pypi">compreffor</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to