Пакет python-module-pydap3.2: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | %define oname pydap3.2 Name: python-module-%oname Version: 3.2 Release: alt2.1 Summary: A Python library implementing the Data Access Protocol (DAP, aka OPeNDAP or DODS) License: MIT Group: Development/Python Url: http://pypi.python.org/pypi/dap/ # https://github.com/lukecampbell/pydap.git BuildArch: noarch Source: %oname-%version.tar.gz %py_requires email Conflicts: python-module-pydap BuildRequires: python-module-docutils python-module-html5lib python-module-httplib2 BuildRequires: python-module-matplotlib python-module-pytest BuildRequires(pre): rpm-build-python3 BuildPreReq: python3-module-genshi python3-module-httplib2 BuildPreReq: python3-module-pytest rpm-build-python3 time %description Pydap is an implementation of the Opendap/DODS protocol, written from scratch. You can use Pydap to access scientific data on the internet without having to download it; instead, you work with special array and iterable objects that download data on-the-fly as necessary, saving bandwidth and time. The module also comes with a robust-but-lightweight Opendap server, implemented as a WSGI application. %package -n python3-module-%oname Summary: Python implementation of the Data Access Protocol (DAP) Group: Development/Python3 %py3_requires rfc822py3 Conflicts: python3-module-pydap %description -n python3-module-%oname Pydap is an implementation of the Opendap/DODS protocol, written from scratch. You can use Pydap to access scientific data on the internet without having to download it; instead, you work with special array and iterable objects that download data on-the-fly as necessary, saving bandwidth and time. The module also comes with a robust-but-lightweight Opendap server, implemented as a WSGI application. %prep %setup cp -fR . ../python3 pushd ../python3 find -type f -name '*.py' -exec 2to3 -w -n '{}' + popd %build %python_build_debug pushd ../python3 %python3_build_debug popd %install pushd ../python3 %python3_install popd pushd %buildroot%_bindir for i in $(ls); do mv $i $i.py3 done popd %python_install %files %doc *.txt *.rst %_bindir/* %exclude %_bindir/*.py3 %python_sitelibdir/* %files -n python3-module-%oname %doc *.txt *.rst %_bindir/*.py3 %python3_sitelibdir/* %changelog * Fri May 25 2018 Andrey Bychkov <mrdrew@altlinux.org> 3.2-alt2.1 - fix requires * Thu May 17 2018 Andrey Bychkov <mrdrew@altlinux.org> 3.2-alt2 - rebuild with python3.6 * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 3.2-alt1.git20121211.1.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Thu Jan 28 2016 Mikhail Efremov <sem@altlinux.org> 3.2-alt1.git20121211.1 - NMU: Use buildreq for BR. * Wed Aug 20 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.2-alt1.git20121211 - Initial build for Sisyphus |