[arch-commits] Commit in python-pyserial/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 20:20:08 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:20:08
  Author: foutrelis
Revision: 1058025

archrelease: copy trunk to community-staging-any

Added:
  python-pyserial/repos/community-staging-any/
  python-pyserial/repos/community-staging-any/PKGBUILD
    (from rev 1058022, python-pyserial/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: python-pyserial/repos/community-staging-any/PKGBUILD (from rev 1058022, python-pyserial/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:20:08 UTC (rev 1058025)
@@ -0,0 +1,27 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Douglas Soares de Andrade <dsandrade at gmail.com>
+# Contributor: Douglas Soares de Andrade <dsandrade at gmail.com>
+
+pkgname=python-pyserial
+pkgver=3.5
+pkgrel=3
+pkgdesc="Multiplatform Serial Port Module for Python"
+arch=('any')
+url="https://github.com/pyserial/pyserial"
+license=('custom:PYTHON')
+depends=('python')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pyserial/pyserial/archive/v$pkgver.tar.gz")
+sha256sums=('81cbbb8147f11cbaefea8bacece25adeffeb2b5503a571e686d4658863fdd6c6')
+
+build() {
+  cd pyserial-${pkgver}
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir"/pyserial-${pkgver}
+  python setup.py install --root="$pkgdir" --skip-build
+  install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list