From 6cb1c581efe54614eee0a1af31024ecc81c989ca Mon Sep 17 00:00:00 2001 From: Tomas Hrcka Date: Tue, 3 Aug 2021 16:12:40 +0200 Subject: [PATCH] Revert "Obsoleted by python-azure-sdk" This reverts commit cd8a8bf51ed80fd6ef79f85568de308b60472e56. Unretirement request: https://pagure.io/releng/issue/10240 Signed-off-by: Tomas Hrcka --- .gitignore | 1 + README.md | 3 ++ dead.package | 1 - python-azure-devtools.spec | 89 ++++++++++++++++++++++++++++++++++++++ sources | 1 + 5 files changed, 94 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 README.md delete mode 100644 dead.package create mode 100644 python-azure-devtools.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1341cf4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/azure-devtools-1.0.0.tar.gz diff --git a/README.md b/README.md new file mode 100644 index 0000000..4d1ba1a --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# python-azure-devtools + +The python-azure-devtools package \ No newline at end of file diff --git a/dead.package b/dead.package deleted file mode 100644 index 5ff12e6..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Obsoleted by python-azure-sdk diff --git a/python-azure-devtools.spec b/python-azure-devtools.spec new file mode 100644 index 0000000..8670fad --- /dev/null +++ b/python-azure-devtools.spec @@ -0,0 +1,89 @@ +%{?python_enable_dependency_generator} + +%global srcname azure-devtools +%global common_description This package contains tools to aid in developing Python-based Azure code. + +Name: python-%{srcname} +Version: 1.0.0 +Release: 10%{?dist} +Summary: Devtools for Azure SDK and CLI for Python + +License: MIT +URL: https://github.com/Azure/azure-python-devtools +Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +# Needed for tests +BuildRequires: python3-configargparse +BuildRequires: python3-six +BuildRequires: python3-vcrpy +BuildArch: noarch + +%description +%{common_description} + + +%package -n python3-%{srcname} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{srcname}} + +%description -n python3-%{srcname} +%{common_description} + + +%prep +%autosetup -n azure-python-devtools-%{version} + + +%build +%py3_build + + +%install +%py3_install + + +%check +%{__python3} -m unittest discover -s src/ + + +%files -n python3-%{srcname} +%doc README.rst doc/ +%license LICENSE +%{python3_sitelib}/azure_devtools/ +%{python3_sitelib}/azure_devtools-*.egg-info/ + + +%changelog +* Tue May 26 2020 Miro Hrončok - 1.0.0-10 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.0.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 1.0.0-8 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 1.0.0-7 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 1.0.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Apr 19 2019 Mohamed El Morabity - 1.0.0-5 +- Enable Python generators +- Enable tests +- Spec cleanup + +* Sat Feb 02 2019 Fedora Release Engineering - 1.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Nov 21 2018 Mohamed El Morabity - 1.0.0-3 +- Fix dependency on python-vcrpy for Fedora <= 27 + +* Tue Nov 20 2018 Mohamed El Morabity - 1.0.0-2 +- Don't glob everything under the Python sitelib directory + +* Sat Nov 03 2018 Mohamed El Morabity - 1.0.0-1 +- Initial RPM release diff --git a/sources b/sources new file mode 100644 index 0000000..0625b2b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (azure-devtools-1.0.0.tar.gz) = aed2687f439d76faf88312b65ad8d8ba8c9c248267102dafff3052e97ff4bf9c0d2cfb9f96ce63885aac54f03ec1aa17c856f1f71d4d14e85a7d8302931e9baf