Compare commits
15 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5091873a8b | ||
|
|
8f43bd83ed | ||
|
|
9dfce2a9bc | ||
|
|
1be3349f0d | ||
|
|
3eaf708c08 | ||
|
|
2115b773d9 | ||
|
|
3c58d9f5c1 | ||
|
|
2096977782 | ||
|
|
1154dc103b | ||
|
|
a37605a2ca | ||
|
|
ca81704cd0 | ||
|
|
1439280442 | ||
|
|
111fa7074d | ||
|
|
541b903d66 | ||
|
|
57413ea483 |
6 changed files with 1 additions and 86 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,2 +0,0 @@
|
|||
/upt-0.10.3.tar.gz
|
||||
.gitignore
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
# upt
|
||||
|
||||
The upt package
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
Orphaned for 6+ weeks
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
--- setup.cfg.orig 2019-10-22 11:06:25.915567835 +0200
|
||||
+++ setup.cfg 2019-10-22 11:06:34.547567997 +0200
|
||||
@@ -40,10 +40,6 @@
|
||||
upt-nix
|
||||
upt-openbsd
|
||||
|
||||
-[options.data_files]
|
||||
-share/man/man1 =
|
||||
- upt.1
|
||||
-
|
||||
[egg_info]
|
||||
tag_build =
|
||||
tag_date = 0
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
SHA512 (upt-0.10.3.tar.gz) = 0f7056518672b1aa6bfaaf4f1415ed77e4099e0df24e135d806d6117b9808b633a38a4231d3e84fe8e0b79248b28fea76bcd2b6dd1110f1b6b298db91b45f3b2
|
||||
67
upt.spec
67
upt.spec
|
|
@ -1,67 +0,0 @@
|
|||
%bcond_with tests
|
||||
|
||||
Name: upt
|
||||
Version: 0.10.3
|
||||
Release: 2%{?dist}
|
||||
Summary: Package software from any package manager to any distribution
|
||||
|
||||
License: BSD
|
||||
URL: https://framagit.org/upt/upt
|
||||
Source0: %pypi_source
|
||||
# setuptools 40.6 added section [options.data_files]to setup.cfg. Having
|
||||
# setuptools < 40.6 results in this error upon trying to install a Python
|
||||
# package:
|
||||
# distutils.errors.DistutilsOptionError: Unsupported distribution option section
|
||||
# el7 and el8 come with version 39.2
|
||||
%if 0%{?rhel}
|
||||
Patch0: remove-options_data_files.patch
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
Requires: python%{python3_pkgversion}-spdx-lookup
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
%if 0%{?fedora} || 0%{?rhel_version} >= 8
|
||||
Recommends: python%{python3_pkgversion}-upt-fedora
|
||||
Recommends: python%{python3_pkgversion}-upt-pypi
|
||||
Recommends: python%{python3_pkgversion}-upt-cpan
|
||||
Recommends: python%{python3_pkgversion}-upt-rubygems
|
||||
%endif
|
||||
|
||||
%description
|
||||
A unified CLI tool that converts a package from a language-specific package
|
||||
manager (such as PyPI or NPM) to an almost ready-to-use package for Free
|
||||
Unix-based operating systems (such as a GNU/Linux distribution or *BSD).
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%if 0%{?rhel}
|
||||
%patch0 -p0
|
||||
%endif
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
%{__install} -d %{buildroot}%{_mandir}/man1
|
||||
%{__cp} upt.1 %{buildroot}%{_mandir}/man1/
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m unittest
|
||||
%endif
|
||||
|
||||
%files
|
||||
%doc README.md CHANGELOG
|
||||
%license LICENSE
|
||||
%{python3_sitelib}/%{name}-*.egg-info/
|
||||
%{python3_sitelib}/%{name}/
|
||||
%{_bindir}/upt
|
||||
%{_mandir}/man1/upt*
|
||||
|
||||
%changelog
|
||||
* Sun Oct 20 2019 Jeremy Bertozzi <jeremy.bertozzi@gmail.com> - 0.10.3-2
|
||||
- Build for rhel
|
||||
|
||||
* Sun Sep 29 2019 Jeremy Bertozzi <jeremy.bertozzi@gmail.com> - 0.10.3-1
|
||||
- Initial package
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue