summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-04-16 15:40:55 +0200
committerMarek Szuba <marecki@gentoo.org>2021-04-16 17:35:11 +0200
commit6b532307b6054af97c58df0cd5f81e42c706b0ce (patch)
treede662dfe186f3c2df01a1b0c6189e5f5ffc8824d /dev-python/identify
parentdev-python/editdistance-s: new package (diff)
downloadgentoo-6b532307b6054af97c58df0cd5f81e42c706b0ce.tar.gz
gentoo-6b532307b6054af97c58df0cd5f81e42c706b0ce.tar.bz2
gentoo-6b532307b6054af97c58df0cd5f81e42c706b0ce.zip
dev-python/identify: new package
Dependency of pre-commit. Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-python/identify')
-rw-r--r--dev-python/identify/Manifest1
-rw-r--r--dev-python/identify/identify-2.2.3.ebuild21
-rw-r--r--dev-python/identify/metadata.xml12
3 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/identify/Manifest b/dev-python/identify/Manifest
new file mode 100644
index 000000000000..82666848bdeb
--- /dev/null
+++ b/dev-python/identify/Manifest
@@ -0,0 +1 @@
+DIST identify-2.2.3.tar.gz 100962 BLAKE2B 0e56b7443f19e0956b72c428b2cf4c741b10cb38e6cad3efa6fa130d3ac1ec84e351d049c58bac9098b85cd32d64459f96e2cd3f13ee43b6cf7190c1894b5a88 SHA512 44bf3b845c9ef93cc539645765af63b037fc9e421f0a97c848946399de13c1d47df86efe63b0bb50fbd54a76912d3bcc7f7f972e7f77c491933d20243492a7f1
diff --git a/dev-python/identify/identify-2.2.3.ebuild b/dev-python/identify/identify-2.2.3.ebuild
new file mode 100644
index 000000000000..302310afdfe1
--- /dev/null
+++ b/dev-python/identify/identify-2.2.3.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+
+DESCRIPTION="File identification library for Python"
+HOMEPAGE="https://github.com/pre-commit/identify"
+SRC_URI="https://github.com/pre-commit/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-python/editdistance-s[${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 000000000000..aac3450e825e
--- /dev/null
+++ b/dev-python/identify/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>marecki@gentoo.org</email>
+ <name>Marek Szuba</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">pre-commit/identify</remote-id>
+ <remote-id type="pypi">identify</remote-id>
+ </upstream>
+</pkgmetadata>