summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-04-11 09:27:45 +0200
committerMichał Górny <mgorny@gentoo.org>2021-04-11 12:46:56 +0200
commit7493dece9a9a9f8804864dc5eb259880e228a45d (patch)
tree01555f14319367a9588a191e37384456fe953186 /dev-python/fastimport
parentdev-python/pyicu: Bump to 2.7.1 (diff)
downloadgentoo-7493dece9a9a9f8804864dc5eb259880e228a45d.tar.gz
gentoo-7493dece9a9a9f8804864dc5eb259880e228a45d.tar.bz2
gentoo-7493dece9a9a9f8804864dc5eb259880e228a45d.zip
Move dev-python/{python-fastimport → fastimport}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/fastimport')
-rw-r--r--dev-python/fastimport/Manifest1
-rw-r--r--dev-python/fastimport/fastimport-0.9.8-r1.ebuild26
-rw-r--r--dev-python/fastimport/metadata.xml14
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/fastimport/Manifest b/dev-python/fastimport/Manifest
new file mode 100644
index 00000000000..ec268fd1126
--- /dev/null
+++ b/dev-python/fastimport/Manifest
@@ -0,0 +1 @@
+DIST fastimport-0.9.8.tar.gz 39512 BLAKE2B 484ba865e749cca33df73417285e51a9117e7c905ab2922588d6eef9a64ea6b3d72de285a2affbe7d4a770ead9ece30f6242777087af1c469d59c8f2a4e1b008 SHA512 5d195b641cf6138fdbc6c75781a4a6d3699e3ada9743bbe4c4264879b2da2f8a2e995e7cc3955a5241e9c7a7f24f8114474a0a30907f86e2e335e2be4669f588
diff --git a/dev-python/fastimport/fastimport-0.9.8-r1.ebuild b/dev-python/fastimport/fastimport-0.9.8-r1.ebuild
new file mode 100644
index 00000000000..b5d14204317
--- /dev/null
+++ b/dev-python/fastimport/fastimport-0.9.8-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=no
+PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
+
+inherit distutils-r1
+
+MY_PN="${PN#python-}"
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="Library for parsing the fastimport VCS serialization format"
+HOMEPAGE="https://github.com/jelmer/python-fastimport"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+S="${WORKDIR}/${MY_P}"
+
+python_test() {
+ "${EPYTHON}" -m unittest -v fastimport.tests.test_suite \
+ || die "Tests fail with ${EPYTHON}"
+}
diff --git a/dev-python/fastimport/metadata.xml b/dev-python/fastimport/metadata.xml
new file mode 100644
index 00000000000..59cf5c8545b
--- /dev/null
+++ b/dev-python/fastimport/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">jelmer/python-fastimport</remote-id>
+ <bugs-to>https://github.com/jelmer/python-fastimport/issues</bugs-to>
+ <remote-id type="launchpad">python-fastimport</remote-id>
+ <remote-id type="pypi">fastimport</remote-id>
+ </upstream>
+</pkgmetadata>