Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
python3-python-magic
python3-python-magic.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python3-python-magic.spec of Package python3-python-magic
# # spec file for package python3-python-magic # # Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python3-python-magic Version: 0.4.12 Release: 0 Summary: File type identification using libmagic License: MIT Group: Development/Languages/Python Url: http://github.com/ahupp/python-magic Source: https://files.pythonhosted.org/packages/source/p/python-magic/python-magic-%{version}.tar.gz BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: file Requires: file # python3-python-magic and python3-magic use the same namespace (ie. filename) # and have a very similar functionality but are incompatible to each other. # Upstream discussions: # https://github.com/ahupp/python-magic/issues/21 # https://github.com/ahupp/python-magic/issues/33 # https://github.com/ahupp/python-magic/issues/57 Conflicts: python3-magic BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description This module uses ctypes to access the libmagic file type identification library. It makes use of the local magic database and supports both textual and MIME-type output. %prep %setup -q -n python-magic-%{version} %build python3 setup.py build %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) %{python3_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor