summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcaltlgin2020-12-03 09:36:09 +1300
committercaltlgin2020-12-03 09:36:09 +1300
commit1474f37a63e6919cd06eec731a826c21ac13868b (patch)
tree9bb8d983b3093ca9c85f4c4be6864a645020a964
parent1a8ce14015a3e29449cb5b6c3f9aa9471114482e (diff)
downloadaur-1474f37a63e6919cd06eec731a826c21ac13868b.tar.gz
Python 3.9 rebuild
-rw-r--r--.SRCINFO4
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD10
3 files changed, 10 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6a9b1b85583..dc34032855d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,14 @@
pkgbase = python-transmissionrpc
pkgdesc = Module to communicate with Transmission BT client via JSON-RPC
pkgver = 3.2.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/Trim21/transmission-rpc
arch = any
license = MIT
makedepends = python-setuptools
- depends = python
depends = python-requests
depends = python-typing_extensions
depends = python-yarl
- provides = transmission_rpc
source = https://files.pythonhosted.org/packages/source/t/transmission-rpc/transmission-rpc-3.2.1.tar.gz
sha256sums = 04512c856eddcee4f360b61e7e87fe042fd7c73585115095532b880e396cf0d4
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 8da890f5cc1..82be80b1659 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,14 +4,14 @@
_pkgname='transmission-rpc'
pkgname="python-${_pkgname/-/}"
pkgver=3.2.1
-pkgrel=1
+pkgrel=2
pkgdesc='Module to communicate with Transmission BT client via JSON-RPC'
arch=('any')
url='https://github.com/Trim21/transmission-rpc'
+_url_pypi='https://pypi.org/project/transmission-rpc'
license=('MIT')
-depends=('python' 'python-requests' 'python-typing_extensions' 'python-yarl')
+depends=('python-requests' 'python-typing_extensions' 'python-yarl')
makedepends=('python-setuptools')
-provides=("${_pkgname/-/_}")
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('04512c856eddcee4f360b61e7e87fe042fd7c73585115095532b880e396cf0d4')
@@ -23,8 +23,8 @@ build() {
package() {
cd "${_pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm644 -t "${pkgdir}/usr/share/doc/${_pkgname}" 'README.md'
- install -Dm644 -t "${pkgdir}/usr/share/licenses/${_pkgname}" 'LICENSE'
+ install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dvm644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
# vim: ts=2 sw=2 et: