[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49123] [PATCH 05/24] gnu: Add python-filetype.
From: |
slg |
Subject: |
[bug#49123] [PATCH 05/24] gnu: Add python-filetype. |
Date: |
Sat, 19 Jun 2021 22:07:23 -0300 |
* gnu/packages/python-xyz.scm (python-filetype): New variable.
---
gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 54c7d91116..6831e2365b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26013,3 +26013,24 @@ up the mess made by various rich text editors and or
copy-pasting to make
styling of webpages simpler and more consistent. It builds on the excellent
HTML cleaner in lxml to make the result both valid and safe.")
(license license:bsd-3)))
+
+(define-public python-filetype
+ (package
+ (name "python-filetype")
+ (version "1.0.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "filetype" version))
+ (sha256
+ (base32
+ "19vav4w8vvcnrps1mirjkrv4pr1khwn5ma6m5pgpxd4qip73wffs"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ;; FIXME: obscure error in test
+ (home-page "https://github.com/h2non/filetype.py")
+ (synopsis "Python package for checking file type and MIME type")
+ (description "Small and dependency free Python package to infer file type
+and MIME type checking the magic numbers signature of a file or buffer. This
+is a Python port from filetype Go package.")
+ (license license:x11)))
--
2.32.0
- [bug#49123] [PATCH 0/24] Add mirage, slg, 2021/06/19
- [bug#49123] [PATCH 01/24] gnu: Add pyotherside., slg, 2021/06/19
- [bug#49123] [PATCH 02/24] gnu: libolm: Add python bindings output., slg, 2021/06/19
- [bug#49123] [PATCH 03/24] gnu: libolm: Update to 3.2.4., slg, 2021/06/19
- [bug#49123] [PATCH 05/24] gnu: Add python-filetype.,
slg <=
- [bug#49123] [PATCH 06/24] gnu: Add python-logbook., slg, 2021/06/19
- [bug#49123] [PATCH 04/24] gnu: Add python-html-sanitizer., slg, 2021/06/19
- [bug#49123] [PATCH 07/24] gnu: python-unpaddedbase64: Update to 2.1.0., slg, 2021/06/19
- [bug#49123] [PATCH 08/24] gnu: python-pycryptodome: Update to 3.10.1., slg, 2021/06/19
- [bug#49123] [PATCH 09/24] gnu: python-hyperframe: Update to 6.0.1., slg, 2021/06/19
- [bug#49123] [PATCH 13/24] gnu: python-socks: Update to 1.2.4., slg, 2021/06/19
- [bug#49123] [PATCH 14/24] gnu: python-aiohttp-socks: Update to 0.6.0., slg, 2021/06/19
- [bug#49123] [PATCH 11/24] gnu: python-h11: Update to 0.12.0., slg, 2021/06/19
- [bug#49123] [PATCH 10/24] gnu: python-h2: Update to 4.0.0., slg, 2021/06/19
- [bug#49123] [PATCH 12/24] gnu: python-future: Update to 0.18.2., slg, 2021/06/19