summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2021-03-21 23:33:18 +0100
committerGilles Dartiguelongue <eva@gentoo.org>2021-03-21 23:33:27 +0100
commitbec484677f27c1a0ed2eedde20c0b953f278215e (patch)
treef4a55e88a4d74f31b77a70d52249470f84a9b218
parentdev-python/cfgv: initial commit (diff)
downloadeva-bec484677f27c1a0ed2eedde20c0b953f278215e.tar.gz
eva-bec484677f27c1a0ed2eedde20c0b953f278215e.tar.bz2
eva-bec484677f27c1a0ed2eedde20c0b953f278215e.zip
dev-python/identify: initial commit
Dependency of pre-commit. Package-Manager: Portage-3.0.17, Repoman-3.0.2 Manifest-Sign-Key: 0x5A56C8CD0C13248A Signed-off-by: Gilles Dartiguelongue <eva@gentoo.org>
-rw-r--r--dev-python/identify/Manifest1
-rw-r--r--dev-python/identify/identify-2.2.0.ebuild27
-rw-r--r--dev-python/identify/metadata.xml15
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/identify/Manifest b/dev-python/identify/Manifest
new file mode 100644
index 0000000..4c830d0
--- /dev/null
+++ b/dev-python/identify/Manifest
@@ -0,0 +1 @@
+DIST identify-2.2.0.tar.gz 98797 BLAKE2B 551420e2d0a97cd3bc29bec3685d1acf2109e4179174da149991a44ec18378be4472e1534847655c5069ed89422d31fac01e893ce2afcd5b619a97792b80f8dc SHA512 f13b80c5c6481ef0a7c0d7f93d5eae99521de6f1556c3ec068575c9ea715ef95c2dda7345d1e8e229c8997416b4e23abe6d80d58b87a3bdebd7fa797c18b82c8
diff --git a/dev-python/identify/identify-2.2.0.ebuild b/dev-python/identify/identify-2.2.0.ebuild
new file mode 100644
index 0000000..94586e2
--- /dev/null
+++ b/dev-python/identify/identify-2.2.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{8,9} )
+inherit distutils-r1
+
+DESCRIPTION="File identification library for Python"
+HOMEPAGE="https://github.com/pre-commit/identify"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="${RDEPEND}"
+# missing
+# covdefaults
+BDEPEND="${BDEPEND}
+ test? (
+ dev-python/coverage[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
diff --git a/dev-python/identify/metadata.xml b/dev-python/identify/metadata.xml
new file mode 100644
index 0000000..bdb001b
--- /dev/null
+++ b/dev-python/identify/metadata.xml
@@ -0,0 +1,15 @@
+<?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>
+ </maintainer>
+ <maintainer type="person">
+ <email>eva@gentoo.org</email>
+ <name>Gilles Dartiguelongue</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">cfgv</remote-id>
+ <remote-id type="github">pre-commit/cfgv</remote-id>
+ </upstream>
+</pkgmetadata>