forked from pypa/setuptools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git clean -xdf tar zcvf ../python-setuptools_60.0.3.orig.tar.gz --exclude=.git . debuild -uc -us cp python-setuptools.spec ../python-setuptools_60.0.3-1.spec mv ../python-setuptools*60.0.3*.{gz,xz,spec,dsc} /osc/home\:alvistack/pypa-setuptools-60.0.3/ rm -rf ../python*-setuptools_60.0.3*.* ../python*-pkg-resources_60.0.3*.* Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
- Loading branch information
Showing
21 changed files
with
826 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,4 @@ setuptools.egg-info | |
.idea/ | ||
.pytest_cache/ | ||
.mypy_cache/ | ||
.pybuild |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
*.substvars | ||
*debhelper* | ||
.debhelper | ||
files | ||
python3-setuptools | ||
python3-pkg-resources | ||
tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
python-setuptools (100:60.0.3-1) UNRELEASED; urgency=medium | ||
|
||
* https://github.com/pypa/setuptools/releases/tag/v60.0.3 | ||
|
||
-- Wong Hoi Sing Edison <hswong3i@gmail.com> Tue, 21 Dec 2021 09:43:34 +0800 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
Source: python-setuptools | ||
Section: python | ||
Priority: optional | ||
Standards-Version: 4.5.0 | ||
Maintainer: Wong Hoi Sing Edison <hswong3i@gmail.com> | ||
Homepage: https://github.com/pypa/setuptools/tags | ||
Vcs-Browser: https://github.com/alvistack/pypa-setuptools | ||
Vcs-Git: https://github.com/alvistack/pypa-setuptools.git | ||
Build-Depends: | ||
debhelper, | ||
debhelper-compat (= 10), | ||
dh-python, | ||
fdupes, | ||
python3-all, | ||
python3-dev, | ||
|
||
Package: python3-pkg-resources | ||
Architecture: all | ||
Description: Package Discovery and Resource Access using pkg_resources | ||
The pkg_resources module provides an API for Python libraries to | ||
access their resource files, and for extensible applications and | ||
frameworks to automatically discover plugins. It also provides | ||
runtime support for using C extensions that are inside zipfile-format | ||
eggs, support for merging packages that have separately-distributed | ||
modules or subpackages, and APIs for managing Python's current | ||
"working set" of active packages. | ||
Depends: | ||
${misc:Depends}, | ||
${shlibs:Depends}, | ||
${python3:Depends}, | ||
|
||
Package: python3-setuptools | ||
Architecture: all | ||
Description: Download, build, install, upgrade, and uninstall Python packages | ||
setuptools is a collection of enhancements to the Python distutils that | ||
allow you to build and distribute Python packages, especially ones that | ||
have dependencies on other packages. | ||
Depends: | ||
${misc:Depends}, | ||
${shlibs:Depends}, | ||
${python3:Depends}, | ||
python3, | ||
python3-pkg-resources (= ${source:Version}), |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
usr/lib/python*/*-packages/pkg_resources |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
python3-pkg-resources: copyright-without-copyright-notice | ||
python3-pkg-resources: initial-upload-closes-no-bugs | ||
python3-pkg-resources: zero-byte-file-in-doc-directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
usr/lib/python*/*-packages/_distutils_hack | ||
usr/lib/python*/*-packages/distutils-precedence.pth | ||
usr/lib/python*/*-packages/setuptools* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
python3-setuptools: copyright-without-copyright-notice | ||
python3-setuptools: initial-upload-closes-no-bugs | ||
python3-setuptools: no-manual-page | ||
python3-setuptools: zero-byte-file-in-doc-directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/make -f | ||
|
||
SHELL := /bin/bash | ||
|
||
override_dh_auto_install: | ||
SETUPTOOLS_USE_DISTUTILS=stdlib dh_auto_install | ||
rm -rf debian/tmp/usr/lib/python*/*-packages/pkg_resources/tests | ||
find debian/tmp/usr/lib/python*/*-packages -type f -name '*.pyc' -exec rm -rf {} \; | ||
fdupes -s debian/tmp/usr/lib/python*/*-packages | ||
|
||
override_dh_auto_test: | ||
|
||
override_dh_auto_clean: | ||
|
||
%: | ||
dh $@ --buildsystem=pybuild --with python3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.0 (quilt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
python-setuptools source: no-debian-changes | ||
python-setuptools source: source-contains-prebuilt-windows-binary | ||
python-setuptools source: source-is-missing | ||
python-setuptools source: source-package-encodes-python-version |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
%global debug_package %{nil} | ||
|
||
Name: python-setuptools | ||
Epoch: 100 | ||
Version: 60.0.3 | ||
Release: 1%{?dist} | ||
BuildArch: noarch | ||
Summary: Download, build, install, upgrade, and uninstall Python packages | ||
License: MIT | ||
URL: https://github.com/pypa/setuptools/tags | ||
Source0: %{name}_%{version}.orig.tar.gz | ||
BuildRequires: fdupes | ||
BuildRequires: gcc | ||
BuildRequires: glibc-static | ||
BuildRequires: python-rpm-macros | ||
BuildRequires: python3-devel | ||
|
||
%description | ||
setuptools is a collection of enhancements to the Python distutils that | ||
allow you to build and distribute Python packages, especially ones that | ||
have dependencies on other packages. | ||
|
||
%prep | ||
%autosetup -T -c -n %{name}_%{version}-%{release} | ||
tar -zx -f %{S:0} --strip-components=1 -C . | ||
|
||
%build | ||
%py3_build | ||
|
||
%install | ||
SETUPTOOLS_USE_DISTUTILS=stdlib %py3_install | ||
rm -rf %{buildroot}%{python3_sitelib}/pkg_resources/tests | ||
find %{buildroot}%{python3_sitelib} -type f -name '*.pyc' -exec rm -rf {} \; | ||
%fdupes -s %{buildroot}%{python3_sitelib} | ||
|
||
%check | ||
|
||
%if 0%{?suse_version} > 1500 | ||
%package -n python%{python_version_nodots}-setuptools | ||
Summary: Download, build, install, upgrade, and uninstall Python packages | ||
Requires: python3 | ||
Provides: python3-setuptools = %{epoch}:%{version}-%{release} | ||
Provides: python3dist(setuptools) = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version}-setuptools = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version}dist(setuptools) = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version_nodots}-setuptools = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version_nodots}dist(setuptools) = %{epoch}:%{version}-%{release} | ||
|
||
%description -n python%{python_version_nodots}-setuptools | ||
setuptools is a collection of enhancements to the Python distutils that | ||
allow you to build and distribute Python packages, especially ones that | ||
have dependencies on other packages. | ||
|
||
%files -n python%{python_version_nodots}-setuptools | ||
%license LICENSE | ||
%{python3_sitelib}/_distutils_hack | ||
%{python3_sitelib}/distutils-precedence.pth | ||
%{python3_sitelib}/pkg_resources | ||
%{python3_sitelib}/setuptools* | ||
%endif | ||
|
||
%if 0%{?centos_version} == 800 | ||
%package -n platform-python-setuptools | ||
Summary: Download, build, install, upgrade, and uninstall Python packages | ||
Requires: python3 | ||
Conflicts: platform-python-setuptools < %{epoch}:%{version}-%{release} | ||
Conflicts: python3-setuptools < %{epoch}:%{version}-%{release} | ||
|
||
%description -n platform-python-setuptools | ||
setuptools is a collection of enhancements to the Python distutils that | ||
allow you to build and distribute Python packages, especially ones that | ||
have dependencies on other packages. | ||
|
||
%package -n python3-setuptools | ||
Summary: Download, build, install, upgrade, and uninstall Python packages | ||
Requires: platform-python-setuptools = %{epoch}:%{version}-%{release} | ||
Provides: python3-setuptools = %{epoch}:%{version}-%{release} | ||
Provides: python3dist(setuptools) = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version}-setuptools = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version}dist(setuptools) = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version_nodots}-setuptools = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version_nodots}dist(setuptools) = %{epoch}:%{version}-%{release} | ||
|
||
%description -n python3-setuptools | ||
setuptools is a collection of enhancements to the Python distutils that | ||
allow you to build and distribute Python packages, especially ones that | ||
have dependencies on other packages. | ||
|
||
%files -n platform-python-setuptools | ||
%license LICENSE | ||
%{python3_sitelib}/_distutils_hack | ||
%{python3_sitelib}/distutils-precedence.pth | ||
%{python3_sitelib}/pkg_resources | ||
%{python3_sitelib}/setuptools* | ||
|
||
%files -n python3-setuptools | ||
%license LICENSE | ||
%endif | ||
|
||
%if !(0%{?suse_version} > 1500) && !(0%{?centos_version} == 800) | ||
%package -n python3-setuptools | ||
Summary: Download, build, install, upgrade, and uninstall Python packages | ||
Requires: python3 | ||
Provides: python3-setuptools = %{epoch}:%{version}-%{release} | ||
Provides: python3dist(setuptools) = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version}-setuptools = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version}dist(setuptools) = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version_nodots}-setuptools = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version_nodots}dist(setuptools) = %{epoch}:%{version}-%{release} | ||
|
||
%description -n python3-setuptools | ||
setuptools is a collection of enhancements to the Python distutils that | ||
allow you to build and distribute Python packages, especially ones that | ||
have dependencies on other packages. | ||
|
||
%files -n python3-setuptools | ||
%license LICENSE | ||
%{python3_sitelib}/_distutils_hack | ||
%{python3_sitelib}/distutils-precedence.pth | ||
%{python3_sitelib}/pkg_resources | ||
%{python3_sitelib}/setuptools* | ||
%endif | ||
|
||
%changelog |
Oops, something went wrong.