diff --git a/python-pyxattr.changes b/python-pyxattr.changes index eea6404..ca1a7fa 100644 --- a/python-pyxattr.changes +++ b/python-pyxattr.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Wed Feb 19 08:49:11 UTC 2020 - Dan Čermák + +- New upstream release 0.7.1 + + * Fix license to LGPL 2.1 and later + * Add keyring for source verification + + Changelog: + + Major change: drop compatibility with Python 2, which allows significant code + cleanups. + + Other changes: + + * Switch internal implementation of argument parsing to a built-in one + (`PyUnicode_FSConverter`), which brings automatic support for + path-like objects in Python 3.6+ (#20), and also a more uniform + handling of Unicode path arguments with respect to other Python code. + * Fix missing error check in list operations in `get_all` (#17). + * Switch test library to pytest; not that a reasonable recent version is + needed. Additionally, expand test coverage, although not directly + visible in actual coverage reports… + ------------------------------------------------------------------- Tue Jul 16 15:09:30 UTC 2019 - Dan Čermák diff --git a/python-pyxattr.keyring b/python-pyxattr.keyring new file mode 100644 index 0000000..4e850cb --- /dev/null +++ b/python-pyxattr.keyring @@ -0,0 +1,75 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBEoSXQEBEACbnpKK4Er2m50OsiKOO8UDTLvaP95Vzi34pYSMB5HelvUJy1NU +QV372A2N4PyiMXuD0ZUkUWdJ64GxHwzB5788hutXa3XIsQuYzmth2Dd1p+dMu0VX +JwJ50nHhMnApJToNV/rtd++mPkPtpwuyImdNsEM1/ThxirEPW6ii9+npImlnLlkY +kNZFaD96UTm2/hJZJ2n+i9yuhj4hM6Gw/uyRG54UmXoS9ZsCdZLVH6Mmrr42mtGv +ejhrlOlOsxsJ0kOtxMGxFqds/+MLBekywBLSk+tDpt7sbBZsTvkSDQGfscgoFcCB +w2mlU9D4ZpjgKxiXftKME94FuFJ6y291Y+e4q6FrjpqLFWr5BVIY1F/k49oPHQbH +ihIeDkRlfldHHde5ZpERQbf7Xmf2W/m8AzLwu5IFXFBaQFN0NmzrNRFCZfVp8IAG +7BTrurEhZzY7PLYdNjXd5H7A6xfZPOTbBTx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LNbKVPP4MB/iNX+fvMRS0uu72 +FAmy2OdCDcMpF7wfSLjlM/Js5/2MP1AZ7bUHAXLx+0zUTMGJTEpzpZue5o/AfoOO +/5kKVtVf/8GPly5kxjHBkRfs4HPzGZgnMlCkiad+MBsP1Vzg+uEpVaBINYi5Wu7+ +SKon6XS56NPnq6H8ORTeZjFwiUCzALM4QwARAQABiQIfBBgBCgAJBQJKE91WAhsM +AAoJEPZuPkGfhPTebAkP/2zEFnp7lZumZIFLu6XsUUCLDY+PWYcIuihp8y+P6FvY +oRO9Xdr51VYu7a3SgFnQNmwhuL6B/079yDbjsWqI74uxXI48hLxP7KxJMW2Fct3V +u5ZGgm3SL5WSA+/1ybL2caZ22OdDC863POThLRzYS0MUJRb9L8ha5WxFONj7ltFb +3ZNey0j2NSRN+jxtpcfUG6yT2/4vVUOsmBoL/wANp4bWc3HrjzOV7ml2O3lf+tGP +wxnPrnpdQtu72Evv7wHRmhkR9RVeLoNclYjAerElZaaXYrFPP81lodoL9mMi8cQy +TCr8ltUdPWp+is67DaK5Y1n7pGEdUu7dcT8l4vW+oFbUjoM4i647fgdLTQyGZOon +OezH36ohyF6RHv55FaA0FpqHQ1Uj7h6sGHnhAQPKrCtA6J76f80VWVBGSD8sV3+M +YdjCRmQwd+05cUyV8uwzPqwBlxaHh57OutPiQNY2KO31h0STsHiV7Je4AVsRHr2q +ExiIOhv1VntMOhSCu1a5ATvKIKeb31nfntA3+/0iVq1MMH1Wvlnyr84doNGrwZsR +r6Hgymg8an6tpf4meT1dy57GakhAjZN5ejiygFhgfHGAJtj/RKmVMgZqfWd6C/5H +CbpxLmHREbWIkUtpf6yPEUzzty+uyP61h8OaPa788jsdRjP7q/pZTW/MzvLEQFiv +=PJyc +-----END PGP PUBLIC KEY BLOCK----- diff --git a/python-pyxattr.spec b/python-pyxattr.spec index 81cda37..a24c48d 100644 --- a/python-pyxattr.spec +++ b/python-pyxattr.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyxattr # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,22 +16,26 @@ # +%define skip_python2 1 %global mod_name pyxattr %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define github_url https://github.com/iustin/%{mod_name}/releases/download Name: python-%{mod_name} -Version: 0.6.1 +Version: 0.7.1 Release: 0 Summary: Filesystem extended attributes for python -License: LGPL-2.0-or-later -Group: Development/Languages/Python +License: LGPL-2.1-or-later URL: https://pyxattr.k1024.org/ -Source: https://files.pythonhosted.org/packages/source/p/pyxattr/pyxattr-%{version}.tar.gz +Source0: %{github_url}/v%{version}/%{mod_name}-%{version}.tar.gz +Source1: %{github_url}/v%{version}/%{mod_name}-%{version}.tar.gz.asc +Source2: https://k1024.org/files/key.asc#/%{name}.keyring BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: gcc BuildRequires: libattr-devel BuildRequires: python-rpm-macros +BuildRequires: python3-pytest %python_subpackages %description @@ -40,13 +44,16 @@ implements extended attributes manipulation. It is a wrapper on top of the attr C library - see attr(5). %prep -%setup -q -n pyxattr-%{version} +%autosetup -n pyxattr-%{version} %build %python_build %check -%python_exec setup.py test +# the module is just a C extension => need to add the installed destination to +# PYTHONPATH, otherwise it won't be found +export PYTHONPATH=%{buildroot}%{python3_sitearch}:$PYTHONPATH +%python_exec -m pytest test %install %python_install @@ -56,6 +63,6 @@ of the attr C library - see attr(5). %{python_sitearch}/xattr* %{python_sitearch}/*egg-info %license COPYING -%doc NEWS README.rst +%doc NEWS README.md %changelog diff --git a/pyxattr-0.6.1.tar.gz b/pyxattr-0.6.1.tar.gz deleted file mode 100644 index 6c6bdb3..0000000 --- a/pyxattr-0.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b525843f6b51036198b3b87c4773a5093d6dec57d60c18a1f269dd7059aa16e3 -size 32105 diff --git a/pyxattr-0.7.1.tar.gz b/pyxattr-0.7.1.tar.gz new file mode 100644 index 0000000..654b0bd --- /dev/null +++ b/pyxattr-0.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:965388dd629334e850aa989a67d2360ec8257cfe8f67d07c29f980d3152f2882 +size 30580 diff --git a/pyxattr-0.7.1.tar.gz.asc b/pyxattr-0.7.1.tar.gz.asc new file mode 100644 index 0000000..631f644 --- /dev/null +++ b/pyxattr-0.7.1.tar.gz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEy5TjqjsXVdYeuxml9m4+QZ+E9N4FAl3cnnoACgkQ9m4+QZ+E +9N7AlxAAgw5hy4IGwNL1hDX75bnHA6S+u63EdEiGrWaaq2ilLp/Sg711UcvFvMEH +3vmc/f52DFsGQZ4hETSz6KUieYtgjqWCCC7nhs7ZRJYf3vzL0YhCdekuQwjtdbkX +8XXr/hPJZ5os8IzFD48Mxs8k1O3g+/GJvzKGDrZ5Rz3fucEA7QGSRBeDg+3nlnee +SSwlwN1LZxzod83kkl9AuwfWu+oFG5v8Qv9gebiJHBEND+CgqgSo2hHjPHoZsUB6 +sJt3Cs7XTdn66lzNSimZB2s1NdMtrlu5fOaiY26xiAWW0DdHh0jl/pukTeN1pgr8 +/BN6gzHpXKqbbKBvkzbe3JvjZaqyP4KabWAhJhWpnW+vRD47BaefRQcmxPrfzUN1 +xYMq9EKI/cxCHIlnLs0/cujZGX96s0k4vIssAx+5jmRHiux6DVklVGnUnjshzquP +AfhKo2RZvMSmDM5QXJAiUoyvZyZhowXglnYg8GrXSbvveRNvg3xDA5e2EJzslSEB +UsHvTimh1BqZtp+IpbbPA8MkAXze9m5R1gkWuuWYd1BdiTfvFW3izywi1PjE6jKu +tJqXKniHTSU96tvqIJ7Q47TQSnJpIH7mKdUOepnz2GwwdbNA8F6e7+3aT+8j5cpR +QzpioM7k+RCiyvOn8dlKaIUOmtc4SWjBZ3ib6EWe6Wf3SPsK4X4= +=r2dp +-----END PGP SIGNATURE-----