Date: Friday, December 3, 2021 @ 22:59:36 Author: foutrelis Revision: 1064930
archrelease: copy trunk to community-staging-any Added: python-selectors2/repos/community-staging-any/PKGBUILD (from rev 1064929, python-selectors2/trunk/PKGBUILD) python-selectors2/repos/community-staging-any/python310.patch (from rev 1064929, python-selectors2/trunk/python310.patch) Deleted: python-selectors2/repos/community-staging-any/PKGBUILD -----------------+ PKGBUILD | 47 +++++++++++++++++++++++++++-------------------- python310.patch | 13 +++++++++++++ 2 files changed, 40 insertions(+), 20 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-12-03 22:59:31 UTC (rev 1064929) +++ PKGBUILD 2021-12-03 22:59:36 UTC (rev 1064930) @@ -1,20 +0,0 @@ -# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org> -# Contributor: Anthony25 <Anthony Ruhier> - -pkgname=python-selectors2 -pkgver=2.0.2 -pkgrel=4 -arch=('any') -pkgdesc='Backported, durable, and portable selectors.' -url='https://github.com/SethMichaelLarson/selectors2' -license=('MIT') -makedepends=('python-setuptools') -source=($pkgbase-$pkgver.tar.gz::https://github.com/SethMichaelLarson/selectors2/archive/$pkgver.tar.gz) -sha256sums=('43e80168bec134ada813d4126b8eac071450bad8ec1bbdd91ec6481050dbc87e') - -package() { - cd "${srcdir}"/selectors2-$pkgver - - python setup.py install --root="${pkgdir}" --optimize=1 - install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE -} Copied: python-selectors2/repos/community-staging-any/PKGBUILD (from rev 1064929, python-selectors2/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-12-03 22:59:36 UTC (rev 1064930) @@ -0,0 +1,27 @@ +# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org> +# Contributor: Anthony25 <Anthony Ruhier> + +pkgname=python-selectors2 +pkgver=2.0.2 +pkgrel=5 +arch=('any') +pkgdesc='Backported, durable, and portable selectors.' +url='https://github.com/SethMichaelLarson/selectors2' +license=('MIT') +makedepends=('python-setuptools') +source=($pkgname-$pkgver.tar.gz::https://github.com/SethMichaelLarson/selectors2/archive/$pkgver.tar.gz + python310.patch) +sha256sums=('43e80168bec134ada813d4126b8eac071450bad8ec1bbdd91ec6481050dbc87e' + '3a05a9b4c9b5a48db0c3c9d961badcb0fe7466f3f0fb12063e8ebc53be9a8041') + +prepare() { + cd "${srcdir}"/selectors2-$pkgver + patch -Np1 -i ../python310.patch +} + +package() { + cd "${srcdir}"/selectors2-$pkgver + + python setup.py install --root="${pkgdir}" --optimize=1 + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE +} Copied: python-selectors2/repos/community-staging-any/python310.patch (from rev 1064929, python-selectors2/trunk/python310.patch) =================================================================== --- python310.patch (rev 0) +++ python310.patch 2021-12-03 22:59:36 UTC (rev 1064930) @@ -0,0 +1,13 @@ +diff -upr selectors2-2.0.2.orig/selectors2.py selectors2-2.0.2/selectors2.py +--- selectors2-2.0.2.orig/selectors2.py 2020-07-22 01:37:48.000000000 +0300 ++++ selectors2-2.0.2/selectors2.py 2021-12-04 00:57:54.254560632 +0200 +@@ -22,7 +22,8 @@ + # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + # SOFTWARE. + +-from collections import namedtuple, Mapping ++from collections import namedtuple ++from collections.abc import Mapping + import errno + import math + import platform