Пакет python-module-jsonpath-rw-ext: 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 | %global pkgname jsonpath-rw-ext %def_with python3 Name: python-module-%pkgname Version: 0.1.9 Release: alt1.1.1 Summary: Extensions for JSONPath RW Group: Development/Python License: ASL 2.0 Url: https://github.com/kennknowles/python-jsonpath-rw Source: %name-%version.tar BuildArch: noarch # Automatically added by buildreq on Thu Jan 28 2016 (-bi) # optimized out: python-base python-devel python-module-setuptools python-modules python-modules-compiler python-modules-ctypes python-modules-email python-modules-encodings python-modules-json python-modules-logging python-modules-multiprocessing python-modules-unittest python3 python3-base python3-module-cffi python3-module-cryptography python3-module-cssselect python3-module-enum34 python3-module-genshi python3-module-ntlm python3-module-pip python3-module-pycparser python3-module-setuptools BuildRequires: python-module-jsonpath-rw python-module-pbr python3-module-html5lib python3-module-jsonpath-rw python3-module-pbr rpm-build-python3 #BuildRequires: python-devel #BuildRequires: python-module-setuptools #BuildRequires: python-module-pbr >= 1.4 #BuildRequires: python-module-jsonpath-rw %if_with python3 BuildRequires(pre): rpm-build-python3 #BuildRequires: python3-devel #BuildRequires: python3-module-setuptools #BuildRequires: python3-module-pbr >= 1.4 #BuildRequires: python3-module-jsonpath-rw %endif %description jsonpath-rw-ext extends json-path-rw capabilities by adding multiple extensions. 'len' that allows one to get the length of a list. 'sorted' that returns a sorted version of a list, 'arithmetic' that permits one to make math operation between elements and 'filter' to select only certain elements of a list. %if_with python3 %package -n python3-module-%pkgname Summary: Extensions for JSONPath RW Group: Development/Python3 %description -n python3-module-%pkgname jsonpath-rw-ext extends json-path-rw capabilities by adding multiple extensions. 'len' that allows one to get the length of a list. 'sorted' that returns a sorted version of a list, 'arithmetic' that permits one to make math operation between elements and 'filter' to select only certain elements of a list. %endif %package doc Summary: Documentation for %name Group: Development/Documentation %description doc Documentation for %name. %prep %setup %if_with python3 rm -rf ../python3 cp -a . ../python3 %endif %build %python_build %if_with python3 pushd ../python3 %python3_build popd %endif %install %if_with python3 pushd ../python3 %python3_install popd %endif %python_install # Delete tests rm -fr %buildroot%python_sitelibdir/*/tests rm -fr %buildroot%python3_sitelibdir/*/tests %files %doc README.rst %python_sitelibdir/* %if_with python3 %files -n python3-module-%pkgname %doc README.rst %python3_sitelibdir/* %endif %changelog * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 0.1.9-alt1.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> 0.1.9-alt1.1 - NMU: Use buildreq for BR. * Tue Nov 03 2015 Alexey Shabalin <shaba@altlinux.ru> 0.1.9-alt1 - Initial build. |