summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorcaltlgin2020-07-31 13:30:07 +1200
committercaltlgin2020-07-31 13:30:07 +1200
commitbc72dd1039a365a9a4304fecfd94510ecf10dfd1 (patch)
tree1e415b728ee7ccc9cc867a0fb8c373386cf10c15 /PKGBUILD
parent106a2b8817c7eb8c76523e98fd158f2eebe3d90f (diff)
downloadaur-bc72dd1039a365a9a4304fecfd94510ecf10dfd1.tar.gz
Update to v0.26.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD48
1 files changed, 33 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 59e6303c123..f68e2154b09 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,41 @@
-pkgname='python-tcconfig'
-_module='tcconfig'
-pkgver='0.17.0'
+# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
+# Contributor: Florian Wittmann
+
+_pkgname=tcconfig
+pkgname=python-${_pkgname}
+pkgver=0.26.0
pkgrel=1
-pkgdesc="A Simple tc command wrapper tool. Easy to set up traffic control of network bandwidth/latency/packet loss/packet-corruption to a network interface."
-url="https://github.com/thombashi/tcconfig"
-depends=('python' 'iproute2' 'python-dataproperty>=0.29.1' 'python-simplesqlite>=0.19.0' 'python-subprocrunner>=0.10.0' 'python-typepy>=0.0.20' 'python-voluptuous' 'python-ipaddress' 'python-logbook' 'python-pyparsing>=2.2.0' 'python-six')
-makedepends=('python-setuptools')
-license=('MIT')
+pkgdesc='tc command wrapper'
arch=('any')
-source=("https://github.com/thombashi/tcconfig/archive/v${pkgver}.tar.gz")
-md5sums=('2da1b88c7fba61685893f8909ccfd18e')
+url='https://github.com/thombashi/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')
+makedepends=('python-setuptools')
+provides=("${_pkgname}")
+source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('b4b064f96c28f7a171552e2854c04849585fd47aba6df46539a0de776a4eebbc')
build() {
- cd "${srcdir}/${_module}-${pkgver}"
- python setup.py build
+ cd "${_pkgname}-${pkgver}"
+ python setup.py build
}
package() {
- cd "${srcdir}/${_module}-${pkgver}"
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python-tcconfig/LICENSE"
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ 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"
}
+
+# vim: ts=2 sw=2 et: