forked from python/typing
-
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-typing-extensions_4.1.1.orig.tar.gz --exclude=.git . debuild -uc -us cp python-typing-extensions.spec ../python-typing-extensions_4.1.1-1.spec mv ../python*-typing-extensions*4.1.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/python-typing-4.1.1/ rm -rf ../python*-typing-extensions*4.1.1*.* ../typing-extensions*4.1.1*.* Signed-off-by: Wong Hoi Sing Edison <[email protected]>
- Loading branch information
Showing
14 changed files
with
161 additions
and
2,883 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 |
---|---|---|
|
@@ -15,3 +15,5 @@ venv*/ | |
*.swp | ||
*.pyc | ||
*.egg-info/ | ||
|
||
.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,6 @@ | ||
*.substvars | ||
*debhelper* | ||
.debhelper | ||
files | ||
python3-typing-extensions | ||
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-typing-extensions (100:4.1.1-1) UNRELEASED; urgency=medium | ||
|
||
* https://github.com/python/typing/releases/tag/4.1.1 | ||
|
||
-- Wong Hoi Sing Edison <[email protected]> Mon, 14 Feb 2022 11:33:07 +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,25 @@ | ||
Source: python-typing-extensions | ||
Section: python | ||
Priority: optional | ||
Standards-Version: 4.5.0 | ||
Maintainer: Wong Hoi Sing Edison <[email protected]> | ||
Homepage: https://github.com/python/typing/tags | ||
Vcs-Browser: https://github.com/alvistack/python-typing | ||
Vcs-Git: https://github.com/alvistack/python-typing.git | ||
Build-Depends: | ||
debhelper, | ||
debhelper-compat (= 10), | ||
dh-python, | ||
fdupes, | ||
python3-dev, | ||
python3-setuptools, | ||
|
||
Package: python3-typing-extensions | ||
Architecture: all | ||
Description: Python Typing Extensions | ||
Typing Extensions - Backported and Experimental Type Hints for Python. | ||
Depends: | ||
${misc:Depends}, | ||
${shlibs:Depends}, | ||
${python3:Depends}, | ||
python3, |
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/* |
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-typing-extensions: copyright-without-copyright-notice | ||
python3-typing-extensions: initial-upload-closes-no-bugs | ||
python3-typing-extensions: no-manual-page | ||
python3-typing-extensions: 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 -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,3 @@ | ||
python-typing-extensions source: no-debian-changes | ||
python-typing-extensions source: source-contains-prebuilt-windows-binary | ||
python-typing-extensions source: source-package-encodes-python-version |
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,91 @@ | ||
%global debug_package %{nil} | ||
|
||
Name: python-typing-extensions | ||
Epoch: 100 | ||
Version: 4.1.1 | ||
Release: 1%{?dist} | ||
BuildArch: noarch | ||
Summary: Python Typing Extensions | ||
License: BSD-3-Clause | ||
URL: https://github.com/python/typing/tags | ||
Source0: %{name}_%{version}.orig.tar.gz | ||
BuildRequires: fdupes | ||
BuildRequires: python-rpm-macros | ||
BuildRequires: python3-devel | ||
BuildRequires: python3-setuptools | ||
|
||
%description | ||
Typing Extensions - Backported and Experimental Type Hints for Python. | ||
|
||
%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 -s %{buildroot}%{python3_sitelib} | ||
|
||
%check | ||
|
||
%if 0%{?suse_version} > 1500 | ||
%package -n python%{python3_version_nodots}-typing_extensions | ||
Summary: Python Typing Extensions | ||
Requires: python3 | ||
Provides: python3-typing-extensions = %{epoch}:%{version}-%{release} | ||
Provides: python3dist(typing-extensions) = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3-version}-typing-extensions = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3-version}dist(typing-extensions) = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3-version-nodots}-typing-extensions = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3-version-nodots}dist(typing-extensions) = %{epoch}:%{version}-%{release} | ||
|
||
%description -n python%{python3_version_nodots}-typing_extensions | ||
Typing Extensions - Backported and Experimental Type Hints for Python. | ||
|
||
%files -n python%{python3_version_nodots}-typing_extensions | ||
%license LICENSE | ||
%{python3_sitelib}/* | ||
%endif | ||
|
||
%if 0%{?sle_version} > 150000 | ||
%package -n python3-typing_extensions | ||
Summary: Python Typing Extensions | ||
Requires: python3 | ||
Provides: python3-typing-extensions = %{epoch}:%{version}-%{release} | ||
Provides: python3dist(typing-extensions) = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3-version}-typing-extensions = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3-version}dist(typing-extensions) = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3-version-nodots}-typing-extensions = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3-version-nodots}dist(typing-extensions) = %{epoch}:%{version}-%{release} | ||
|
||
%description -n python3-typing_extensions | ||
Typing Extensions - Backported and Experimental Type Hints for Python. | ||
|
||
%files -n python3-typing_extensions | ||
%license LICENSE | ||
%{python3_sitelib}/* | ||
%endif | ||
|
||
%if !(0%{?suse_version} > 1500) && !(0%{?sle_version} > 150000) | ||
%package -n python3-typing-extensions | ||
Summary: Python Typing Extensions | ||
Requires: python3 | ||
Provides: python3-typing-extensions = %{epoch}:%{version}-%{release} | ||
Provides: python3dist(typing-extensions) = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version}-typing-extensions = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version}dist(typing-extensions) = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version_nodots}-typing-extensions = %{epoch}:%{version}-%{release} | ||
Provides: python%{python3_version_nodots}dist(typing-extensions) = %{epoch}:%{version}-%{release} | ||
|
||
%description -n python3-typing-extensions | ||
Typing Extensions - Backported and Experimental Type Hints for Python. | ||
|
||
%files -n python3-typing-extensions | ||
%license LICENSE | ||
%{python3_sitelib}/* | ||
%endif | ||
|
||
%changelog |
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,8 @@ | ||
from setuptools import setup | ||
|
||
setup( | ||
name='typing_extensions', | ||
version='4.1.1', | ||
package_dir={'': 'typing_extensions/src'}, | ||
py_modules=['typing_extensions'], | ||
) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.