Package python3-module-pyproj: 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 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | %define _unpackaged_files_terminate_build 1 %define oname pyproj %def_with check Name: python3-module-%oname Version: 3.6.1 Release: alt2 Summary: Python interface to PROJ License: MIT Group: Development/Python3 Url: https://pypi.python.org/pypi/pyproj/ VCS: https://github.com/pyproj4/pyproj Source: %name-%version.tar Patch: pyproj-3.6.1-fix-test-with-proj-9.4.0.patch BuildRequires(pre): rpm-build-python3 BuildRequires: python3-module-setuptools BuildRequires: python3-module-wheel BuildRequires: python3-module-Cython BuildRequires: proj BuildRequires: proj-devel %if_with check BuildRequires: python3-module-pytest BuildRequires: python3-module-certifi BuildRequires: python3-module-numpy BuildRequires: python3-module-numpy-testing BuildRequires: python3-module-pandas BuildRequires: python3-module-xarray BuildRequires: python3-module-shapely %endif %description Python interface to PROJ (cartographic projections and coordinate transformations library) %prep %setup %patch -p1 %build %add_optflags -fno-strict-aliasing export PROJ_DIR="%_usr/" export PROJ_LIBDIR="%_libdir" export PROJ_INCDIR="%_includedir" %pyproject_build %install %pyproject_install %check cd .. mkdir -p pyproj-test-folder cd pyproj-test-folder cp -r ../%name-%version/test . cp -r ../%name-%version/pytest.ini . PATH="%buildroot%_bindir:$PATH" \ PYTHONPATH=%buildroot%python3_sitelibdir \ py.test-3 -m "not network" %files %doc LICENSE* *.md docs %_bindir/%oname %python3_sitelibdir/%oname %python3_sitelibdir/%{pyproject_distinfo %oname} %changelog * Wed May 01 2024 Anton Vyatkin <toni@altlinux.org> 3.6.1-alt2 - Fixed FTBFS. * Thu Sep 21 2023 Anton Vyatkin <toni@altlinux.org> 3.6.1-alt1 - New version 3.6.1. * Thu Jun 15 2023 Anton Vyatkin <toni@altlinux.org> 3.6.0-alt1 - New version 3.6.0. * Sun Jun 11 2023 Anton Vyatkin <toni@altlinux.org> 3.5.0-alt1 - New version 3.5.0. * Tue Feb 28 2023 Anton Vyatkin <toni@altlinux.org> 3.4.1-alt1 - new version 3.4.1 * Mon May 24 2021 Grigory Ustinov <grenka@altlinux.org> 1.9.6-alt2 - Drop python2 support. * Fri Apr 12 2019 Grigory Ustinov <grenka@altlinux.org> 1.9.6-alt1 - Build new version for python3.7. * Thu Mar 22 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 1.9.4-alt3.git20141229.1.1.1 - (NMU) Rebuilt with python-3.6.4. * Thu Mar 17 2016 Ivan Zakharyaschev <imz@altlinux.org> 1.9.4-alt3.git20141229.1.1 - (NMU) rebuild with python3-3.5 & rpm-build-python3-0.1.10 (for ABI dependence and new python3(*) reqs) * Thu Jan 28 2016 Mikhail Efremov <sem@altlinux.org> 1.9.4-alt3.git20141229.1 - NMU: Use buildreq for BR. * Tue Dec 30 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.9.4-alt3.git20141229 - New snapshot * Sat Aug 16 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.9.4-alt2.svn20131105 - Added module for Python 3 * Fri Nov 29 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.9.4-alt1.svn20131105 - New snapshot * Wed Sep 18 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.9.4-alt1.svn20130619 - Version 1.9.4 * Tue Apr 02 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.9.3-alt1.svn20130125 - Version 1.9.3 * Thu Apr 12 2012 Vitaly Kuznetsov <vitty@altlinux.ru> 1.9.0-alt1.svn20111223.1 - Rebuild to remove redundant libpython2.7 dependency * Fri Dec 23 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.9.0-alt1.svn20111223 - Version 1.9.0 * Thu Oct 20 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 1.8.9-alt1.svn20110504.1 - Rebuild with Python-2.7 * Mon May 16 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.8.9-alt1.svn20110504 - Version 1.8.9 * Sat Mar 26 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.8.8-alt1.svn20100914.1 - Rebuilt for debuginfo * Tue Oct 19 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.8.8-alt1.svn20100914 - Version 1.8.8 * Wed Jul 28 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.8.7-alt1.svn20100715 - Version 1.8.7 * Mon Mar 08 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.8.6-alt1.20091103 - Version 1.8.6 - Extracted tests into separate package * Wed Nov 18 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.8.5-alt1.20090914.1 - Rebuilt with python 2.6 * Fri Sep 18 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.8.5-alt1.20090914 - Initial build for Sisyphus |