Date: Thursday, December 2, 2021 @ 22:25:12 Author: felixonmars Revision: 1062796
archrelease: copy trunk to community-staging-any Added: python-sniffio/repos/community-staging-any/PKGBUILD (from rev 1062795, python-sniffio/trunk/PKGBUILD) Deleted: python-sniffio/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 92 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-12-02 22:25:03 UTC (rev 1062795) +++ PKGBUILD 2021-12-02 22:25:12 UTC (rev 1062796) @@ -1,46 +0,0 @@ -# Maintainer: Maxime Gauduin <aluc...@archlinux.org> - -pkgname=python-sniffio -pkgver=1.2.0 -pkgrel=4 -pkgdesc='Sniff out which async library your code is running under' -arch=(any) -url=https://github.com/python-trio/sniffio -license=(MIT) -depends=(python) -makedepends=( - git - python-curio - python-pytest - python-setuptools -) -_tag=b93038b1a8b76607363f2f261bcf8e7ad4c53807 -source=(git+https://github.com/python-trio/sniffio.git#tag=${_tag}) -sha256sums=(SKIP) - -pkgver() { - cd sniffio - - git describe --tags | sed 's/^v//' -} - -build() { - cd sniffio - - python setup.py build -} - -check() { - cd sniffio - - python setup.py test -} - -package() { - cd sniffio - - python setup.py install --root="${pkgdir}" --optimize=1 --skip-build - install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-sniffio/ -} - -# vim: ts=2 sw=2 et: Copied: python-sniffio/repos/community-staging-any/PKGBUILD (from rev 1062795, python-sniffio/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-12-02 22:25:12 UTC (rev 1062796) @@ -0,0 +1,46 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> + +pkgname=python-sniffio +pkgver=1.2.0 +pkgrel=5 +pkgdesc='Sniff out which async library your code is running under' +arch=(any) +url=https://github.com/python-trio/sniffio +license=(MIT) +depends=(python) +makedepends=( + git + python-curio + python-pytest + python-setuptools +) +_tag=b93038b1a8b76607363f2f261bcf8e7ad4c53807 +source=(git+https://github.com/python-trio/sniffio.git#tag=${_tag}) +sha256sums=(SKIP) + +pkgver() { + cd sniffio + + git describe --tags | sed 's/^v//' +} + +build() { + cd sniffio + + python setup.py build +} + +check() { + cd sniffio + + python setup.py test +} + +package() { + cd sniffio + + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-sniffio/ +} + +# vim: ts=2 sw=2 et: