[arch-commits] Commit in python-pyotp/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sun May 9 10:05:19 UTC 2021


    Date: Sunday, May 9, 2021 @ 10:05:18
  Author: anthraxx
Revision: 929015

upgpkg: python-pyotp 2.6.0-1

Modified:
  python-pyotp/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-09 09:59:02 UTC (rev 929014)
+++ PKGBUILD	2021-05-09 10:05:18 UTC (rev 929015)
@@ -3,8 +3,8 @@
 
 pkgname=python-pyotp
 _pkgname=pyotp
-_gitcommit=480770f6b86c6445ffa041a830532b72e45ced6c
-pkgver=2.4.1
+_gitcommit=a50b2701e1ecaaafc62b90a7424f602ce8edfceb
+pkgver=2.6.0
 pkgrel=1
 pkgdesc='Python library for generating and verifying one-time passwords'
 url='https://pyotp.readthedocs.io/'
@@ -11,7 +11,7 @@
 arch=('any')
 license=('MIT')
 depends=('python')
-makedepends=('git' 'python-setuptools' 'python-sphinx')
+makedepends=('git' 'python-setuptools')
 options=('!makeflags')
 source=("git+https://github.com/pyotp/pyotp#commit=${_gitcommit}?signed")
 sha512sums=('SKIP')
@@ -25,7 +25,6 @@
 build() {
   cd ${_pkgname}
   python setup.py build
-  make -C docs text man
 }
 
 check() {
@@ -36,9 +35,7 @@
 package() {
   cd ${_pkgname}
   python setup.py install --root="${pkgdir}" -O1 --skip-build
-  install -Dm 644 README.rst ./docs/_build/text/*.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 ./docs/_build/man/${_pkgname}.1 -t "${pkgdir}/usr/share/man/man1"
-  ln -s /usr/share/man/man1/${_pkgname}.1.gz "${pkgdir}/usr/share/man/man1/${pkgname}.1.gz"
+  install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
   install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }
 



More information about the arch-commits mailing list