summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2021-12-09 15:24:31 -0800
committerMichel Alexandre Salim <salimma@fedoraproject.org>2021-12-09 15:24:31 -0800
commite8e16b3690fe7c3d6ff36628d1fa51de909bd76c (patch)
tree3969b0d7a66a24a184f1f985f02b07691deef215
parente0a77f51c3d940befc4a7607f909036dbe4ccd57 (diff)
downloadspecs-e8e16b3690fe7c3d6ff36628d1fa51de909bd76c.tar.gz
specs-e8e16b3690fe7c3d6ff36628d1fa51de909bd76c.tar.xz
specs-e8e16b3690fe7c3d6ff36628d1fa51de909bd76c.zip
django-extensions and its crazy dependencies
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
-rw-r--r--python/python-django-extensions.spec88
-rw-r--r--python/python-types-boto.spec62
-rw-r--r--python/python-types-cryptography.spec62
-rw-r--r--python/python-types-enum34.spec62
-rw-r--r--python/python-types-ipaddress.spec62
-rw-r--r--python/python-types-pyopenssl.spec63
-rw-r--r--python/python-types-pyyaml.spec63
-rw-r--r--python/python-types-requests.spec62
-rw-r--r--python/python-types-six.spec62
9 files changed, 586 insertions, 0 deletions
diff --git a/python/python-django-extensions.spec b/python/python-django-extensions.spec
new file mode 100644
index 0000000..5ffc964
--- /dev/null
+++ b/python/python-django-extensions.spec
@@ -0,0 +1,88 @@
+# Build doc by default
+%bcond_without doc
+
+%global srcname django-extensions
+%global modname django_extensions
+
+Name: python-%{srcname}
+Version: 3.1.5
+Release: %autorelease
+Summary: Extensions for Django
+License: GPLv3+
+URL: https://github.com/django-extensions/django-extensions
+# PyPI tarball doesn't contain some requirements files
+# Source0: %%{pypi_source %%{srcname}}
+Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
+#Patch0: %%{srcname}-localdeps.patch
+
+BuildArch: noarch
+
+BuildRequires: python%{python3_pkgversion}-devel
+BuildRequires: python%{python3_pkgversion}-setuptools
+
+%if %{with doc}
+BuildRequires: python%{python3_pkgversion}-sphinx
+%endif
+
+%global _description %{expand:
+Django Extensions is a collection of custom extensions for the Django
+Framework.}
+
+%description %{_description}
+
+
+%package -n python%{python3_pkgversion}-%{srcname}
+Summary: %{summary}
+
+%description -n python%{python3_pkgversion}-%{srcname} %{_description}
+
+
+%package -n python%{python3_pkgversion}-%{srcname}-doc
+Summary: Documentation for %{srcname}
+Suggests: python%{python3_pkgversion}-%{srcname} = %{version}-%{release}
+
+%description -n python%{python3_pkgversion}-%{srcname}-doc %{_description}
+This package contains the documentation for %{srcname}.
+
+
+%prep
+%autosetup -p1 -n %{srcname}-%{version}
+
+
+%generate_buildrequires
+%pyproject_buildrequires -t
+
+
+%build
+%pyproject_wheel
+
+%if %{with doc}
+(cd docs && make html)
+%endif
+
+
+%install
+%pyproject_install
+%pyproject_save_files %{modname}
+
+
+%check
+# tox.ini invokes make invokes pytest
+# call directly so we can disable tests that require network
+%pytest django_extensions tests \
+ -k "not PipCheckerTests"
+
+
+%files -n python%{python3_pkgversion}-%{srcname} -f %{pyproject_files}
+%license LICENSE
+%doc CHANGELOG.md CONTRIBUTING.md README.rst
+
+%if %{with doc}
+%files -n python%{python3_pkgversion}-%{srcname}-doc
+%license LICENSE
+%doc docs/_build/html/*
+%endif
+
+
+%changelog
+%autochangelog
diff --git a/python/python-types-boto.spec b/python/python-types-boto.spec
new file mode 100644
index 0000000..da72f1f
--- /dev/null
+++ b/python/python-types-boto.spec
@@ -0,0 +1,62 @@
+%global srcname types-boto
+%global modname types_boto
+
+Name: python-%{srcname}
+Version: 2.49.2
+Release: %autorelease
+Summary: Typing stubs for boto
+License: ASL 2.0
+URL: https://github.com/python/typeshed
+Source0: %{pypi_source %{srcname}}
+
+BuildArch: noarch
+
+BuildRequires: python%{python3_pkgversion}-devel
+BuildRequires: python%{python3_pkgversion}-setuptools
+
+%global _description %{expand:
+This is a PEP 561 type stub package for the boto package. It can be used by
+type-checking tools like mypy, PyCharm, pytype etc. to check code that uses
+boto. The source for this package can be found at
+https://github.com/python/typeshed/tree/master/stubs/boto. All fixes for types
+and metadata should be contributed there.
+
+See https://github.com/python/typeshed/blob/master/README.md for more details.}
+
+%description %{_description}
+
+
+%package -n python%{python3_pkgversion}-%{srcname}
+Summary: %{summary}
+
+%description -n python%{python3_pkgversion}-%{srcname} %{_description}
+
+
+%prep
+%autosetup -p1 -n %{srcname}-%{version}
+
+
+%generate_buildrequires
+%pyproject_buildrequires -r
+
+
+%build
+%pyproject_wheel
+
+
+%install
+%pyproject_install
+
+
+%check
+%py3_check_import boto-stubs
+
+
+%files -n python%{python3_pkgversion}-%{srcname}
+%doc CHANGELOG.md
+%{python3_sitelib}/boto-stubs
+%{python3_sitelib}/%{modname}-%{version}.dist-info/
+
+
+%changelog
+%autochangelog
diff --git a/python/python-types-cryptography.spec b/python/python-types-cryptography.spec
new file mode 100644
index 0000000..d431094
--- /dev/null
+++ b/python/python-types-cryptography.spec
@@ -0,0 +1,62 @@
+%global srcname types-cryptography
+%global modname types_cryptography
+
+Name: python-%{srcname}
+Version: 3.3.9
+Release: %autorelease
+Summary: Typing stubs for cryptography
+License: ASL 2.0
+URL: https://github.com/python/typeshed
+Source0: %{pypi_source %{srcname}}
+
+BuildArch: noarch
+
+BuildRequires: python%{python3_pkgversion}-devel
+BuildRequires: python%{python3_pkgversion}-setuptools
+
+%global _description %{expand:
+This is a PEP 561 type stub package for the cryptography package. It can be used
+by type-checking tools like mypy, PyCharm, pytype etc. to check code that uses
+cryptography. The source for this package can be found at
+https://github.com/python/typeshed/tree/master/stubs/cryptography. All fixes for
+types and metadata should be contributed there.
+
+See https://github.com/python/typeshed/blob/master/README.md for more details.}
+
+%description %{_description}
+
+
+%package -n python%{python3_pkgversion}-%{srcname}
+Summary: %{summary}
+
+%description -n python%{python3_pkgversion}-%{srcname} %{_description}
+
+
+%prep
+%autosetup -p1 -n %{srcname}-%{version}
+
+
+%generate_buildrequires
+%pyproject_buildrequires -r
+
+
+%build
+%pyproject_wheel
+
+
+%install
+%pyproject_install
+
+
+%check
+%py3_check_import cryptography-stubs
+
+
+%files -n python%{python3_pkgversion}-%{srcname}
+%doc CHANGELOG.md
+%{python3_sitelib}/cryptography-stubs
+%{python3_sitelib}/%{modname}-%{version}.dist-info/
+
+
+%changelog
+%autochangelog
diff --git a/python/python-types-enum34.spec b/python/python-types-enum34.spec
new file mode 100644
index 0000000..3eb6ea0
--- /dev/null
+++ b/python/python-types-enum34.spec
@@ -0,0 +1,62 @@
+%global srcname types-enum34
+%global modname types_enum34
+
+Name: python-%{srcname}
+Version: 1.1.1
+Release: %autorelease
+Summary: Typing stubs for enum34
+License: ASL 2.0
+URL: https://github.com/python/typeshed
+Source0: %{pypi_source %{srcname}}
+
+BuildArch: noarch
+
+BuildRequires: python%{python3_pkgversion}-devel
+BuildRequires: python%{python3_pkgversion}-setuptools
+
+%global _description %{expand:
+This is a PEP 561 type stub package for the enum34 package. It can be used by
+type-checking tools like mypy, PyCharm, pytype etc. to check code that uses
+enum34. The source for this package can be found at
+https://github.com/python/typeshed/tree/master/stubs/enum34. All fixes for types
+and metadata should be contributed there.
+
+See https://github.com/python/typeshed/blob/master/README.md for more details.}
+
+%description %{_description}
+
+
+%package -n python%{python3_pkgversion}-%{srcname}
+Summary: %{summary}
+
+%description -n python%{python3_pkgversion}-%{srcname} %{_description}
+
+
+%prep
+%autosetup -p1 -n %{srcname}-%{version}
+
+
+%generate_buildrequires
+%pyproject_buildrequires -r
+
+
+%build
+%pyproject_wheel
+
+
+%install
+%pyproject_install
+
+
+%check
+%py3_check_import enum-python2-stubs
+
+
+%files -n python%{python3_pkgversion}-%{srcname}
+%doc CHANGELOG.md
+%{python3_sitelib}/enum-python2-stubs
+%{python3_sitelib}/%{modname}-%{version}.dist-info/
+
+
+%changelog
+%autochangelog
diff --git a/python/python-types-ipaddress.spec b/python/python-types-ipaddress.spec
new file mode 100644
index 0000000..58b997f
--- /dev/null
+++ b/python/python-types-ipaddress.spec
@@ -0,0 +1,62 @@
+%global srcname types-ipaddress
+%global modname types_ipaddress
+
+Name: python-%{srcname}
+Version: 1.0.1
+Release: %autorelease
+Summary: Typing stubs for ipaddress
+License: ASL 2.0
+URL: https://github.com/python/typeshed
+Source0: %{pypi_source %{srcname}}
+
+BuildArch: noarch
+
+BuildRequires: python%{python3_pkgversion}-devel
+BuildRequires: python%{python3_pkgversion}-setuptools
+
+%global _description %{expand:
+This is a PEP 561 type stub package for the ipaddress package. It can be used by
+type-checking tools like mypy, PyCharm, pytype etc. to check code that uses
+ipaddress. The source for this package can be found at
+https://github.com/python/typeshed/tree/master/stubs/ipaddress. All fixes for
+types and metadata should be contributed there.
+
+See https://github.com/python/typeshed/blob/master/README.md for more details.}
+
+%description %{_description}
+
+
+%package -n python%{python3_pkgversion}-%{srcname}
+Summary: %{summary}
+
+%description -n python%{python3_pkgversion}-%{srcname} %{_description}
+
+
+%prep
+%autosetup -p1 -n %{srcname}-%{version}
+
+
+%generate_buildrequires
+%pyproject_buildrequires -r
+
+
+%build
+%pyproject_wheel
+
+
+%install
+%pyproject_install
+
+
+%check
+%py3_check_import ipaddress-python2-stubs
+
+
+%files -n python%{python3_pkgversion}-%{srcname}
+%doc CHANGELOG.md
+%{python3_sitelib}/ipaddress-python2-stubs
+%{python3_sitelib}/%{modname}-%{version}.dist-info/
+
+
+%changelog
+%autochangelog
diff --git a/python/python-types-pyopenssl.spec b/python/python-types-pyopenssl.spec
new file mode 100644
index 0000000..0010cac
--- /dev/null
+++ b/python/python-types-pyopenssl.spec
@@ -0,0 +1,63 @@
+%global srcname types-pyopenssl
+%global modname types_pyOpenSSL
+%global pypi_name types-pyOpenSSL
+
+Name: python-%{srcname}
+Version: 21.0.1
+Release: %autorelease
+Summary: Typing stubs for pyOpenSSL
+License: ASL 2.0
+URL: https://github.com/python/typeshed
+Source0: %{pypi_source %{pypi_name}}
+
+BuildArch: noarch
+
+BuildRequires: python%{python3_pkgversion}-devel
+BuildRequires: python%{python3_pkgversion}-setuptools
+
+%global _description %{expand:
+This is a PEP 561 type stub package for the pyOpenSSL package. It can be used by
+type-checking tools like mypy, PyCharm, pytype etc. to check code that uses
+pyOpenSSL. The source for this package can be found at
+https://github.com/python/typeshed/tree/master/stubs/pyOpennSSL. All fixes for
+types and metadata should be contributed there.
+
+See https://github.com/python/typeshed/blob/master/README.md for more details.}
+
+%description %{_description}
+
+
+%package -n python%{python3_pkgversion}-%{srcname}
+Summary: %{summary}
+
+%description -n python%{python3_pkgversion}-%{srcname} %{_description}
+
+
+%prep
+%autosetup -p1 -n %{pypi_name}-%{version}
+
+
+%generate_buildrequires
+%pyproject_buildrequires -r
+
+
+%build
+%pyproject_wheel
+
+
+%install
+%pyproject_install
+
+
+%check
+%py3_check_import OpenSSL-stubs
+
+
+%files -n python%{python3_pkgversion}-%{srcname}
+%doc CHANGELOG.md
+%{python3_sitelib}/OpenSSL-stubs
+%{python3_sitelib}/%{modname}-%{version}.dist-info/
+
+
+%changelog
+%autochangelog
diff --git a/python/python-types-pyyaml.spec b/python/python-types-pyyaml.spec
new file mode 100644
index 0000000..567a6fe
--- /dev/null
+++ b/python/python-types-pyyaml.spec
@@ -0,0 +1,63 @@
+%global srcname types-pyyaml
+%global modname types_PyYAML
+%global pypi_name types-PyYAML
+
+Name: python-%{srcname}
+Version: 6.0.1
+Release: %autorelease
+Summary: Typing stubs for PyYAML
+License: ASL 2.0
+URL: https://github.com/python/typeshed
+Source0: %{pypi_source %{pypi_name}}
+
+BuildArch: noarch
+
+BuildRequires: python%{python3_pkgversion}-devel
+BuildRequires: python%{python3_pkgversion}-setuptools
+
+%global _description %{expand:
+This is a PEP 561 type stub package for the PyYAML package. It can be used by
+type-checking tools like mypy, PyCharm, pytype etc. to check code that uses
+PyYAML. The source for this package can be found at
+https://github.com/python/typeshed/tree/master/stubs/PyYAML. All fixes for types
+and metadata should be contributed there.
+
+See https://github.com/python/typeshed/blob/master/README.md for more details.}
+
+%description %{_description}
+
+
+%package -n python%{python3_pkgversion}-%{srcname}
+Summary: %{summary}
+
+%description -n python%{python3_pkgversion}-%{srcname} %{_description}
+
+
+%prep
+%autosetup -p1 -n %{pypi_name}-%{version}
+
+
+%generate_buildrequires
+%pyproject_buildrequires -r
+
+
+%build
+%pyproject_wheel
+
+
+%install
+%pyproject_install
+
+
+%check
+%py3_check_import yaml-stubs
+
+
+%files -n python%{python3_pkgversion}-%{srcname}
+%doc CHANGELOG.md
+%{python3_sitelib}/yaml-stubs
+%{python3_sitelib}/%{modname}-%{version}.dist-info/
+
+
+%changelog
+%autochangelog
diff --git a/python/python-types-requests.spec b/python/python-types-requests.spec
new file mode 100644
index 0000000..340a170
--- /dev/null
+++ b/python/python-types-requests.spec
@@ -0,0 +1,62 @@
+%global srcname types-requests
+%global modname types_requests
+
+Name: python-%{srcname}
+Version: 2.26.1
+Release: %autorelease
+Summary: Typing stubs for requests
+License: ASL 2.0
+URL: https://github.com/python/typeshed
+Source0: %{pypi_source %{srcname}}
+
+BuildArch: noarch
+
+BuildRequires: python%{python3_pkgversion}-devel
+BuildRequires: python%{python3_pkgversion}-setuptools
+
+%global _description %{expand:
+This is a PEP 561 type stub package for the requests package. It can be used by
+type-checking tools like mypy, PyCharm, pytype etc. to check code that uses
+requests. The source for this package can be found at
+https://github.com/python/typeshed/tree/master/stubs/requests. All fixes for
+types and metadata should be contributed there.
+
+See https://github.com/python/typeshed/blob/master/README.md for more details.}
+
+%description %{_description}
+
+
+%package -n python%{python3_pkgversion}-%{srcname}
+Summary: %{summary}
+
+%description -n python%{python3_pkgversion}-%{srcname} %{_description}
+
+
+%prep
+%autosetup -p1 -n %{srcname}-%{version}
+
+
+%generate_buildrequires
+%pyproject_buildrequires -r
+
+
+%build
+%pyproject_wheel
+
+
+%install
+%pyproject_install
+
+
+%check
+%py3_check_import requests-stubs
+
+
+%files -n python%{python3_pkgversion}-%{srcname}
+%doc CHANGELOG.md
+%{python3_sitelib}/requests-stubs
+%{python3_sitelib}/%{modname}-%{version}.dist-info/
+
+
+%changelog
+%autochangelog
diff --git a/python/python-types-six.spec b/python/python-types-six.spec
new file mode 100644
index 0000000..f7c85c6
--- /dev/null
+++ b/python/python-types-six.spec
@@ -0,0 +1,62 @@
+%global srcname types-six
+%global modname types_six
+
+Name: python-%{srcname}
+Version: 1.16.3
+Release: %autorelease
+Summary: Typing stubs for six
+License: ASL 2.0
+URL: https://github.com/python/typeshed
+Source0: %{pypi_source %{srcname}}
+
+BuildArch: noarch
+
+BuildRequires: python%{python3_pkgversion}-devel
+BuildRequires: python%{python3_pkgversion}-setuptools
+
+%global _description %{expand:
+This is a PEP 561 type stub package for the six package. It can be used by
+type-checking tools like mypy, PyCharm, pytype etc. to check code that uses six.
+The source for this package can be found at
+https://github.com/python/typeshed/tree/master/stubs/six. All fixes for types
+and metadata should be contributed there.
+
+See https://github.com/python/typeshed/blob/master/README.md for more details.}
+
+%description %{_description}
+
+
+%package -n python%{python3_pkgversion}-%{srcname}
+Summary: %{summary}
+
+%description -n python%{python3_pkgversion}-%{srcname} %{_description}
+
+
+%prep
+%autosetup -p1 -n %{srcname}-%{version}
+
+
+%generate_buildrequires
+%pyproject_buildrequires -r
+
+
+%build
+%pyproject_wheel
+
+
+%install
+%pyproject_install
+
+
+%check
+%py3_check_import six{,-python2}-stubs
+
+
+%files -n python%{python3_pkgversion}-%{srcname}
+%doc CHANGELOG.md
+%{python3_sitelib}/six{,-python2}-stubs
+%{python3_sitelib}/%{modname}-%{version}.dist-info/
+
+
+%changelog
+%autochangelog