Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/puremagic/
Date: Sat, 25 Sep 2021 13:59:18
Message-Id: 1632578144.081b927e8975e0bd5d2dfcb6b82576458ad05b50.whissi@gentoo
1 commit: 081b927e8975e0bd5d2dfcb6b82576458ad05b50
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 25 13:55:23 2021 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 25 13:55:44 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=081b927e
7
8 dev-python/puremagic: initial import
9
10 Required for net-nntp/sabnzbd.
11
12 Bug: https://bugs.gentoo.org/814503
13 Package-Manager: Portage-3.0.23, Repoman-3.0.3
14 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
15
16 dev-python/puremagic/Manifest | 1 +
17 dev-python/puremagic/metadata.xml | 13 +++++++++++++
18 dev-python/puremagic/puremagic-1.11.ebuild | 20 ++++++++++++++++++++
19 3 files changed, 34 insertions(+)
20
21 diff --git a/dev-python/puremagic/Manifest b/dev-python/puremagic/Manifest
22 new file mode 100644
23 index 00000000000..2e3d2c4c5ae
24 --- /dev/null
25 +++ b/dev-python/puremagic/Manifest
26 @@ -0,0 +1 @@
27 +DIST puremagic-1.11.tar.gz 295026 BLAKE2B 4d210807d9f5eb0c2eb88b0c18aa5cdf56170b347de4f95b92c08492d5f038759b39c1aa2d6ed4bc91e96e036e6f4d0891449af8aee3beac65c4d692fa295ec0 SHA512 4d4c9a93cd56a02aefb7090c92b41048f33923bef14022158f39c39ac93326b7180b8cc97495ad5ed3eec7d9f1379a5508829ee779aaba9b8aa8f975e787b1f5
28
29 diff --git a/dev-python/puremagic/metadata.xml b/dev-python/puremagic/metadata.xml
30 new file mode 100644
31 index 00000000000..9f2ecb2e4c4
32 --- /dev/null
33 +++ b/dev-python/puremagic/metadata.xml
34 @@ -0,0 +1,13 @@
35 +<?xml version="1.0" encoding="UTF-8"?>
36 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
37 +<pkgmetadata>
38 + <maintainer type="person">
39 + <email>whissi@g.o</email>
40 + <name>Thomas Deutschmann</name>
41 + </maintainer>
42 + <upstream>
43 + <bugs-to>https://github.com/cdgriffith/puremagic/issues</bugs-to>
44 + <remote-id type="github">cdgriffith/puremagic</remote-id>
45 + <remote-id type="pypi">puremagic</remote-id>
46 + </upstream>
47 +</pkgmetadata>
48
49 diff --git a/dev-python/puremagic/puremagic-1.11.ebuild b/dev-python/puremagic/puremagic-1.11.ebuild
50 new file mode 100644
51 index 00000000000..7f02fc5c206
52 --- /dev/null
53 +++ b/dev-python/puremagic/puremagic-1.11.ebuild
54 @@ -0,0 +1,20 @@
55 +# Copyright 1999-2021 Gentoo Authors
56 +# Distributed under the terms of the GNU General Public License v2
57 +
58 +EAPI=8
59 +
60 +PYTHON_COMPAT=( python3_{8..10} )
61 +
62 +inherit distutils-r1
63 +
64 +DESCRIPTION="Pure python implementation of magic file detection"
65 +HOMEPAGE="https://github.com/cdgriffith/puremagic"
66 +SRC_URI="https://github.com/cdgriffith/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
67 +
68 +LICENSE="MIT"
69 +SLOT="0"
70 +KEYWORDS="~amd64 ~x86"
71 +
72 +DOCS=( CHANGELOG.md README.rst )
73 +
74 +distutils_enable_tests pytest