diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-10 22:19:18 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 22:19:18 +0000 |
| commit | f3d4211e069d0b03812357252a28749cd73ee4f7 (patch) | |
| tree | df4eefbc35bbcfa0c081fe96e02c57f2a83528ed | |
| parent | a2c6275efeaff751058d7d10f5d22b5905299b65 (diff) | |
automatic import of python-aqtinstall
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-aqtinstall.spec | 136 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 138 insertions, 0 deletions
@@ -0,0 +1 @@ +/aqtinstall-3.1.5.tar.gz diff --git a/python-aqtinstall.spec b/python-aqtinstall.spec new file mode 100644 index 0000000..80de55a --- /dev/null +++ b/python-aqtinstall.spec @@ -0,0 +1,136 @@ +%global _empty_manifest_terminate_build 0 +Name: python-aqtinstall +Version: 3.1.5 +Release: 1 +Summary: Another unofficial Qt installer +License: MIT License +URL: https://pypi.org/project/aqtinstall/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3f/ec/81ff7252c2125da8468c893d0b1d9c261ec983b7624560f644a3c127cca0/aqtinstall-3.1.5.tar.gz +BuildArch: noarch + +Requires: python3-bs4 +Requires: python3-defusedxml +Requires: python3-humanize +Requires: python3-patch +Requires: python3-py7zr +Requires: python3-requests +Requires: python3-semantic-version +Requires: python3-texttable +Requires: python3-mypy +Requires: python3-flake8 +Requires: python3-flake8-black +Requires: python3-flake8-colors +Requires: python3-flake8-isort +Requires: python3-flake8-pyi +Requires: python3-flake8-typing-imports +Requires: python3-docutils +Requires: python3-check-manifest +Requires: python3-readme-renderer +Requires: python3-pygments +Requires: python3-packaging +Requires: python3-sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-sphinx-py3doc-enhanced-theme +Requires: python3-pytest +Requires: python3-pytest-pep8 +Requires: python3-pytest-remotedata +Requires: python3-pytest-cov +Requires: python3-pytest-socket +Requires: python3-pytest-leaks +Requires: python3-pytest-timeout +Requires: python3-pympler + +%description +- Release: |pypi| +- Documentation: |docs| +- Test status: |gha| and Coverage: |coveralls| +- Project maturity |Package health| +This is a utility alternative to the official graphical Qt installer, for using in CI environment +where an interactive UI is not usable, or just on command line. +It can automatically download prebuilt Qt binaries, documents and sources for target specified, +when the versions are on Qt download mirror sites. + Because it is an installer utility, it can download from Qt distribution site and its mirror. + The site is operated by The Qt Company who may remove versions you may want to use that become end of support. + Please don't blame us. + This is NOT franchised with The Qt Company and The Qt Project. Please don't ask them about aqtinstall. + +%package -n python3-aqtinstall +Summary: Another unofficial Qt installer +Provides: python-aqtinstall +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-aqtinstall +- Release: |pypi| +- Documentation: |docs| +- Test status: |gha| and Coverage: |coveralls| +- Project maturity |Package health| +This is a utility alternative to the official graphical Qt installer, for using in CI environment +where an interactive UI is not usable, or just on command line. +It can automatically download prebuilt Qt binaries, documents and sources for target specified, +when the versions are on Qt download mirror sites. + Because it is an installer utility, it can download from Qt distribution site and its mirror. + The site is operated by The Qt Company who may remove versions you may want to use that become end of support. + Please don't blame us. + This is NOT franchised with The Qt Company and The Qt Project. Please don't ask them about aqtinstall. + +%package help +Summary: Development documents and examples for aqtinstall +Provides: python3-aqtinstall-doc +%description help +- Release: |pypi| +- Documentation: |docs| +- Test status: |gha| and Coverage: |coveralls| +- Project maturity |Package health| +This is a utility alternative to the official graphical Qt installer, for using in CI environment +where an interactive UI is not usable, or just on command line. +It can automatically download prebuilt Qt binaries, documents and sources for target specified, +when the versions are on Qt download mirror sites. + Because it is an installer utility, it can download from Qt distribution site and its mirror. + The site is operated by The Qt Company who may remove versions you may want to use that become end of support. + Please don't blame us. + This is NOT franchised with The Qt Company and The Qt Project. Please don't ask them about aqtinstall. + +%prep +%autosetup -n aqtinstall-3.1.5 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-aqtinstall -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 3.1.5-1 +- Package Spec generated @@ -0,0 +1 @@ +9c56b3910bcc90fec807795c01e05d30 aqtinstall-3.1.5.tar.gz |
