[arch-commits] Commit in python-pyserial/repos/community-any (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Wed Mar 17 22:19:37 UTC 2021
Date: Wednesday, March 17, 2021 @ 22:19:36
Author: foxboron
Revision: 894261
archrelease: copy trunk to community-any
Added:
python-pyserial/repos/community-any/PKGBUILD
(from rev 894260, python-pyserial/trunk/PKGBUILD)
Deleted:
python-pyserial/repos/community-any/PKGBUILD
----------+
PKGBUILD | 62 ++++++++++++++++++++++++++-----------------------------------
1 file changed, 27 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-17 22:19:27 UTC (rev 894260)
+++ PKGBUILD 2021-03-17 22:19:36 UTC (rev 894261)
@@ -1,35 +0,0 @@
-# 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>
-
-pkgbase=python-pyserial
-pkgname=('python-pyserial' 'python2-pyserial')
-pkgver=3.5
-pkgrel=1
-pkgdesc="Multiplatform Serial Port Module for Python"
-arch=('any')
-url="https://github.com/pyserial/pyserial"
-license=('custom:PYTHON')
-makedepends=('python2' 'python')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pyserial/pyserial/archive/v$pkgver.tar.gz")
-sha256sums=('81cbbb8147f11cbaefea8bacece25adeffeb2b5503a571e686d4658863fdd6c6')
-
-build() {
- cp -a "$srcdir"/pyserial-${pkgver} "$srcdir"/py2serial-${pkgver}
-}
-
-package_python-pyserial() {
- depends=('python')
-
- cd "$srcdir"/pyserial-${pkgver}
- python setup.py install --root="$pkgdir"
- install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
-
-package_python2-pyserial() {
- depends=('python2')
-
- cd "$srcdir"/py2serial-${pkgver}
- python2 setup.py install --root="$pkgdir"
- install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
Copied: python-pyserial/repos/community-any/PKGBUILD (from rev 894260, python-pyserial/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-17 22:19:36 UTC (rev 894261)
@@ -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=2
+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