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

Daniel M. Capella polyzen at archlinux.org
Tue Feb 9 08:26:51 UTC 2021


    Date: Tuesday, February 9, 2021 @ 08:26:51
  Author: polyzen
Revision: 850822

upgpkg: python-pytest-subtesthack 0.1.1-10: Move setuptools to makedeps

Currently used as a checkdep for vdirsyncer which pulls in setuptools
during the build process anyhow.

https://archlinux.org/todo/cleanup-of-python-setuptools-dependency-for-console-scripts/

Modified:
  python-pytest-subtesthack/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-09 08:16:03 UTC (rev 850821)
+++ PKGBUILD	2021-02-09 08:26:51 UTC (rev 850822)
@@ -1,16 +1,18 @@
 # Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
 # Contributor: eolianoe <eolianoe At GoogleMAIL DoT com>
 
 _name=pytest-subtesthack
 pkgname=python-${_name}
 pkgver=0.1.1
-pkgrel=9
+pkgrel=10
 pkgdesc="A hack to explicitly set up and tear down fixtures"
 arch=('any')
 url="https://github.com/untitaker/pytest-subtesthack"
 license=('custom')
-depends=('python-pytest' 'python-setuptools')
-source=(${_name}-${pkgver}.tar.gz::"https://github.com/untitaker/${_name}/archive/${pkgver}.tar.gz")
+depends=('python-pytest')
+makedepends=('python-setuptools')
+source=("${url}/archive/${pkgver}/${_name}-${pkgver}.tar.gz")
 sha512sums=('0bf6425b535e65dc7f06f74493d10fbb6451e78a817174638661d7525f39f092f67db8da010228cbd54b400485e71e443118f91ebef660b9c00d2b354062a55f')
 
 build() {
@@ -24,6 +26,6 @@
     --optimize=1 \
     --prefix=/usr \
     --root="${pkgdir}"
-  install -vDm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -vDm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README.rst"
+  install -vDm 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
+  install -vDm 644 -t "${pkgdir}/usr/share/doc/${pkgname}" README.rst
 }



More information about the arch-commits mailing list