mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 23:08:09 -07:00
dev-python/filetype: Initial import
Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
This commit is contained in:
1
dev-python/filetype/Manifest
Normal file
1
dev-python/filetype/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST filetype-1.0.5.tar.gz 668401 BLAKE2B c8dbb2d993a13c848b6460cbdb99da20606bbb632b388c2a0c0a28debf6119c73257f177c55cbce201ed7ac5a47f04a4a2c3137cfde887638151cb287c28333b SHA512 c90846deedfdb9c0dbb8f0f2e3943494ea2a8cbb85752b8fa8093f76a3760864e3a1854530d7a62c418a9e475e22f161ba52c9069cafe24d6f069fd300191dea
|
||||
10
dev-python/filetype/files/filetype-1.0.5-examples.patch
Normal file
10
dev-python/filetype/files/filetype-1.0.5-examples.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
--- a/setup.py 2020-02-07 15:57:33.445851327 -0000
|
||||
+++ b/setup.py 2020-02-07 15:57:50.921877837 -0000
|
||||
@@ -37,6 +37,6 @@
|
||||
'Topic :: System :: Filesystems',
|
||||
'Topic :: Utilities'],
|
||||
platforms=['any'],
|
||||
- packages=find_packages(exclude=['dist', 'build', 'docs', 'tests']),
|
||||
+ packages=find_packages(exclude=['dist', 'build', 'docs', 'tests', 'examples']),
|
||||
package_data={'filetype': ['LICENSE', '*.md']},
|
||||
zip_safe=True)
|
||||
20
dev-python/filetype/filetype-1.0.5.ebuild
Normal file
20
dev-python/filetype/filetype-1.0.5.ebuild
Normal file
@@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Small, dependency-free, fast Python package to infer binary file types checking"
|
||||
HOMEPAGE="https://github.com/h2non/filetype.py"
|
||||
LICENSE="BSD"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64"
|
||||
|
||||
BDEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-examples.patch" )
|
||||
16
dev-python/filetype/metadata.xml
Normal file
16
dev-python/filetype/metadata.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>alexxy@gentoo.org</email>
|
||||
<name>Alexey Shvetsov</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">filetype</remote-id>
|
||||
<remote-id type="github">h2non/filetype.py</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user