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: 7e8610df323e4f0bf87b026b40b73364313f40e8

Message: update to 4.2.1

Diff


diff --git a/.SRCINFO b/.SRCINFO
index cfa97a1..0b2279d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,16 +2,14 @@ generated-by = makedeb-makepkg
 
 pkgbase = python3-pypresence
 	pkgdesc = A complete Discord RPC and Rich Presence wrapper library in Python
-	pkgver = 4.2.0
-	pkgrel = 3
+	pkgver = 4.2.1
+	pkgrel = 1
 	url = https://qwertyquerty.github.io/pypresence/html/index.html
 	arch = any
 	license = MIT
 	makedepends = python3-setuptools
 	depends = python3
-	source = https://files.pythonhosted.org/packages/source/p/pypresence/pypresence-4.2.0.tar.gz
-	source = LICENSE-4.2.0::https://raw.githubusercontent.com/qwertyquerty/pypresence/4.2.0/LICENSE
-	sha256sums = 54618a18085d104aa063df8296dac95cf01b922ed8aab4b021f71718bb3f19b1
-	sha256sums = a3286e2d54c65b24c18fb69c714fd19318f3ce9b36a816f198d2cae28c77dfc3
+	source = https://files.pythonhosted.org/packages/source/p/pypresence/pypresence-4.2.1.tar.gz
+	sha256sums = 691daf98c8189fd216d988ebfc67779e0f664211512d9843f37ab0d51d4de066
 
 pkgname = python3-pypresence
diff --git a/PKGBUILD b/PKGBUILD
index 78a88dd..0829327 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,18 +3,16 @@
 # Maintainer: zocker_160 <zocker1600 at posteo dot net>
 
 pkgname=python3-pypresence
-pkgver=4.2.0
-pkgrel=3
+pkgver=4.2.1
+pkgrel=1
 pkgdesc='A complete Discord RPC and Rich Presence wrapper library in Python'
 url='https://qwertyquerty.github.io/pypresence/html/index.html'
 arch=('any')
 license=('MIT')
 depends=('python3')
 makedepends=('python3-setuptools')
-source=("https://files.pythonhosted.org/packages/source/p/pypresence/pypresence-$pkgver.tar.gz"
-        "LICENSE-$pkgver::https://raw.githubusercontent.com/qwertyquerty/pypresence/$pkgver/LICENSE")
-sha256sums=('54618a18085d104aa063df8296dac95cf01b922ed8aab4b021f71718bb3f19b1'
-            'a3286e2d54c65b24c18fb69c714fd19318f3ce9b36a816f198d2cae28c77dfc3')
+source=("https://files.pythonhosted.org/packages/source/p/pypresence/pypresence-$pkgver.tar.gz")
+sha256sums=('691daf98c8189fd216d988ebfc67779e0f664211512d9843f37ab0d51d4de066')
 
 build() {
   cd "${srcdir}/pypresence-${pkgver}"
@@ -22,12 +20,10 @@ build() {
 }
 
 package() {
-  install -Dm644 "LICENSE-$pkgver" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
   cd "${srcdir}/pypresence-${pkgver}"
-  python3 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+  python3 setup.py install --prefix=/usr --root="${pkgdir}" --install-layout=deb --optimize=1 --skip-build
   
   # dirty fix for Ubuntu
-  mv "$pkgdir"/usr/lib/python3.* "$pkgdir"/usr/lib/python3
-  mv "$pkgdir"/usr/lib/python3/site-packages "$pkgdir"/usr/lib/python3/dist-packages
+  #mv "$pkgdir"/usr/lib/python3.* "$pkgdir"/usr/lib/python3
+  #mv "$pkgdir"/usr/lib/python3/site-packages "$pkgdir"/usr/lib/python3/dist-packages
 }