Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2
python-check-manifest
python-check-manifest.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-check-manifest.spec of Package python-check-manifest
# # spec file for package python-check-manifest # # Copyright (c) 2017 SUSE LINUX 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-check-manifest Version: 0.37 Release: 0 Summary: Check MANIFEST in a Python source package for completeness License: MIT Group: Development/Languages/Python Url: https://github.com/mgedmin/check-manifest Source: https://files.pythonhosted.org/packages/source/c/check-manifest/check-manifest-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros %if %{with test} BuildRequires: %{python_module mock} BuildRequires: git %endif BuildArch: noarch %python_subpackages %description check-manifest is a tool for python developers to check for broken packages and missing files in MANIFEST. %prep %setup -q -n check-manifest-%{version} #sed -ie "s,#!/usr/bin/env python,##!/usr/bin/python3," check_manifest.py sed -i '1{\,^#!/usr/bin/env python,d}' check_manifest.py %build %python_build %install %python_install chmod -x %{buildroot}%{python_sitelib}/check_manifest.py %if %{with test} %check export LANG=en_US.UTF-8 %python_exec setup.py test %endif %files %{python_files} %defattr(-,root,root,-) %doc CHANGES.rst README.rst %license LICENSE.rst %python3_only %{_bindir}/check-manifest %{python_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