summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcaltlgin2020-12-03 09:34:08 +1300
committercaltlgin2020-12-03 09:34:08 +1300
commit73fee997c1a503a220cb37e7be95724aecb631c6 (patch)
treeb54823308508617e79e0f96d3352af72c6ad8972
parentbc72dd1039a365a9a4304fecfd94510ecf10dfd1 (diff)
downloadaur-python-tcconfig.tar.gz
Python 3.9 rebuild
-rw-r--r--.SRCINFO3
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD34
3 files changed, 22 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0ce1d210822..f345ca22e9a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-tcconfig
pkgdesc = tc command wrapper
pkgver = 0.26.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/thombashi/tcconfig
arch = any
license = MIT
@@ -18,7 +18,6 @@ pkgbase = python-tcconfig
depends = python-subprocrunner
depends = python-typepy
depends = python-voluptuous
- provides = tcconfig
source = https://files.pythonhosted.org/packages/source/t/tcconfig/tcconfig-0.26.0.tar.gz
sha256sums = b4b064f96c28f7a171552e2854c04849585fd47aba6df46539a0de776a4eebbc
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..05c6d4d4c97
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!.gitignore
+!.SRCINFO
+!PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
index f68e2154b09..5f5ca1a8fd6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,28 @@
# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
# Contributor: Florian Wittmann
-_pkgname=tcconfig
-pkgname=python-${_pkgname}
+_pkgname='tcconfig'
+pkgname="python-${_pkgname}"
pkgver=0.26.0
-pkgrel=1
+pkgrel=2
pkgdesc='tc command wrapper'
arch=('any')
url='https://github.com/thombashi/tcconfig'
+_url_pypi='https://pypi.org/project/tcconfig'
license=('MIT')
depends=('python-dataproperty'
- 'python-docker'
- 'python-humanreadable'
- 'python-loguru'
- 'python-msgfy'
- 'python-path'
- 'python-pyparsing'
- 'python-pyroute2'
- 'python-simplesqlite'
- 'python-subprocrunner'
- 'python-typepy'
- 'python-voluptuous')
+ 'python-docker'
+ 'python-humanreadable'
+ 'python-loguru'
+ 'python-msgfy'
+ 'python-path'
+ 'python-pyparsing'
+ 'python-pyroute2'
+ 'python-simplesqlite'
+ 'python-subprocrunner'
+ 'python-typepy'
+ 'python-voluptuous')
makedepends=('python-setuptools')
-provides=("${_pkgname}")
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('b4b064f96c28f7a171552e2854c04849585fd47aba6df46539a0de776a4eebbc')
@@ -34,8 +34,8 @@ build() {
package() {
cd "${_pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm644 'README.rst' "${pkgdir}/usr/share/doc/${_pkgname}/README.rst"
- install -Dm644 'LICENSE' "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
+ install -Dvm644 'README.rst' -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dvm644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
# vim: ts=2 sw=2 et: