makedeb


python3-pypresence 4.2.1-1


A complete Discord RPC and Rich Presence wrapper library in Python

Click here to go back to the commit logs for python3-pypresence.

Commit:


Hash: b859a22b8ebc7f26d8a5ff040d7015d0b26560d9

Message: fix packaging error

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 6592705..cfa97a1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ generated-by = makedeb-makepkg
 pkgbase = python3-pypresence
 	pkgdesc = A complete Discord RPC and Rich Presence wrapper library in Python
 	pkgver = 4.2.0
-	pkgrel = 2
+	pkgrel = 3
 	url = https://qwertyquerty.github.io/pypresence/html/index.html
 	arch = any
 	license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 8a8002f..95c1022 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=python3-pypresence
 pkgver=4.2.0
-pkgrel=2
+pkgrel=3
 pkgdesc='A complete Discord RPC and Rich Presence wrapper library in Python'
 url='https://qwertyquerty.github.io/pypresence/html/index.html'
 arch=('any')
@@ -18,12 +18,12 @@ sha256sums=('54618a18085d104aa063df8296dac95cf01b922ed8aab4b021f71718bb3f19b1'
 
 build() {
   cd "${srcdir}/pypresence-${pkgver}"
-  python setup.py build
+  python3 setup.py build
 }
 
 package() {
   install -Dm644 "LICENSE-$pkgver" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 
   cd "${srcdir}/pypresence-${pkgver}"
-  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+  python3 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
 }