forked from pypa/virtualenv
-
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-virtualenv_20.24.6.orig.tar.gz --exclude=.git . debuild -uc -us cp python-virtualenv.spec ../python-virtualenv_20.24.6-1.spec mv ../python*-virtualenv*20.24.6*.{gz,xz,spec,dsc} /osc/home\:alvistack/pypa-virtualenv-20.24.6/ rm -rf ../*virtualenv*20.24.6*.* See pypa#2664 Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
- Loading branch information
Showing
14 changed files
with
328 additions
and
163 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
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 | ||
tmp | ||
python3-virtualenv | ||
virtualenv |
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-virtualenv (100:20.24.6-1) UNRELEASED; urgency=medium | ||
|
||
* https://github.com/pypa/virtualenv/releases/tag/20.24.6 | ||
|
||
-- Wong Hoi Sing Edison <hswong3i@pantarei-design.com> Tue, 24 Oct 2023 15:34:52 +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,38 @@ | ||
Source: python-virtualenv | ||
Section: python | ||
Priority: optional | ||
Standards-Version: 4.5.0 | ||
Maintainer: Wong Hoi Sing Edison <hswong3i@gmail.com> | ||
Homepage: https://github.com/pypa/virtualenv/tags | ||
Vcs-Browser: https://github.com/alvistack/pypa-virtualenv | ||
Vcs-Git: https://github.com/alvistack/pypa-virtualenv.git | ||
Build-Depends: | ||
debhelper, | ||
debhelper-compat (= 10), | ||
dh-python, | ||
fdupes, | ||
python3-dev, | ||
python3-setuptools (>= 59.6), | ||
|
||
Package: python3-virtualenv | ||
Architecture: all | ||
Description: Tool to create isolated Python environments | ||
virtualenv is a tool to create isolated Python environments. virtualenv | ||
is a successor to workingenv, and an extension of virtual-python. It is | ||
written by Ian Bicking, and sponsored by the Open Planning Project. | ||
Depends: | ||
${misc:Depends}, | ||
${shlibs:Depends}, | ||
${python3:Depends}, | ||
python3, | ||
python3-distlib (>= 0.3.7), | ||
python3-filelock (>= 3.12.2), | ||
python3-importlib-metadata (>= 6.6), | ||
python3-platformdirs (>= 3.9.1), | ||
|
||
Package: virtualenv | ||
Architecture: all | ||
Depends: python3-virtualenv | ||
Section: oldlibs | ||
Description: Python virtual environment creator (Dependency package) | ||
This is a dependency package and may be safely removed. |
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,21 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
|
||
Files: debian/* | ||
Copyright: 2023 Wong Hoi Sing Edison <hswong3i@pantarei-design.com> | ||
License: Apache-2.0 | ||
|
||
License: Apache-2.0 | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
. | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
. | ||
The complete text of the Apache version 2.0 license | ||
can be found in "/usr/share/common-licenses/Apache-2.0". |
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,2 @@ | ||
usr/bin/* | ||
usr/lib/python*/*-packages/* |
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-virtualenv: copyright-without-copyright-notice | ||
python3-virtualenv: initial-upload-closes-no-bugs | ||
python3-virtualenv: no-manual-page | ||
python3-virtualenv: 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,15 @@ | ||
#!/usr/bin/make -f | ||
|
||
SHELL := /bin/bash | ||
|
||
override_dh_auto_install: | ||
dh_auto_install --destdir=debian/tmp | ||
find debian/tmp/usr/lib/python*/*-packages -type f -name '*.pyc' -exec rm -rf {} \; | ||
fdupes -qnrps 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-virtualenv source: file-without-copyright-information | ||
python-virtualenv source: no-debian-changes | ||
python-virtualenv source: source-contains-prebuilt-windows-binary | ||
python-virtualenv 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,102 @@ | ||
# Copyright 2023 Wong Hoi Sing Edison <hswong3i@pantarei-design.com> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
%global debug_package %{nil} | ||
|
||
Name: python-virtualenv | ||
Epoch: 100 | ||
Version: 20.24.6 | ||
Release: 1%{?dist} | ||
BuildArch: noarch | ||
Summary: Tool to create isolated Python environments | ||
License: MIT | ||
URL: https://github.com/pypa/virtualenv/tags | ||
Source0: %{name}_%{version}.orig.tar.gz | ||
BuildRequires: fdupes | ||
BuildRequires: python-rpm-macros | ||
BuildRequires: python3-devel | ||
BuildRequires: python3-setuptools >= 59.6 | ||
|
||
%description | ||
virtualenv is a tool to create isolated Python environments. virtualenv | ||
is a successor to workingenv, and an extension of virtual-python. It is | ||
written by Ian Bicking, and sponsored by the Open Planning Project. | ||
|
||
%prep | ||
%autosetup -T -c -n %{name}_%{version}-%{release} | ||
tar -zx -f %{S:0} --strip-components=1 -C . | ||
|
||
%build | ||
%py3_build | ||
|
||
%install | ||
%py3_install | ||
find %{buildroot}%{python3_sitelib} -type f -name '*.pyc' -exec rm -rf {} \; | ||
fdupes -qnrps %{buildroot}%{python3_sitelib} | ||
|
||
%check | ||
|
||
%if 0%{?suse_version} > 1500 || 0%{?centos_version} == 700 | ||
%package -n python%{python3_version_nodots}-virtualenv | ||
Summary: Tool to create isolated Python environments | ||
Requires: python3 | ||
Requires: python3-distlib >= 0.3.7 | ||
Requires: python3-filelock >= 3.12.2 | ||
Requires: python3-importlib-metadata >= 6.6 | ||
Requires: python3-platformdirs >= 3.9.1 | ||
Provides: python3-virtualenv = %{epoch}:%{version}-%{release} | ||
Provides: python3dist(virtualenv) = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version}-virtualenv = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version}dist(virtualenv) = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version_nodots}-virtualenv = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version_nodots}dist(virtualenv) = %{epoch}:%{version}-%{release} | ||
|
||
%description -n python%{python3_version_nodots}-virtualenv | ||
virtualenv is a tool to create isolated Python environments. virtualenv | ||
is a successor to workingenv, and an extension of virtual-python. It is | ||
written by Ian Bicking, and sponsored by the Open Planning Project. | ||
|
||
%files -n python%{python3_version_nodots}-virtualenv | ||
%license LICENSE | ||
%{_bindir}/* | ||
%{python3_sitelib}/* | ||
%endif | ||
|
||
%if !(0%{?suse_version} > 1500) && !(0%{?centos_version} == 700) | ||
%package -n python3-virtualenv | ||
Summary: Tool to create isolated Python environments | ||
Requires: python3 | ||
Requires: python3-distlib >= 0.3.7 | ||
Requires: python3-filelock >= 3.12.2 | ||
Requires: python3-importlib-metadata >= 6.6 | ||
Requires: python3-platformdirs >= 3.9.1 | ||
Provides: python3-virtualenv = %{epoch}:%{version}-%{release} | ||
Provides: python3dist(virtualenv) = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version}-virtualenv = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version}dist(virtualenv) = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version_nodots}-virtualenv = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version_nodots}dist(virtualenv) = %{epoch}:%{version}-%{release} | ||
|
||
%description -n python3-virtualenv | ||
virtualenv is a tool to create isolated Python environments. virtualenv | ||
is a successor to workingenv, and an extension of virtual-python. It is | ||
written by Ian Bicking, and sponsored by the Open Planning Project. | ||
|
||
%files -n python3-virtualenv | ||
%license LICENSE | ||
%{_bindir}/* | ||
%{python3_sitelib}/* | ||
%endif | ||
|
||
%changelog |
Oops, something went wrong.