Package Details: python-pypresence 4.2.0-1

Git Clone URL: https://aur.archlinux.org/python-pypresence.git (read-only, click to copy)
Package Base: python-pypresence
Description: A complete Discord RPC and Rich Presence wrapper library in Python
Upstream URL: https://qwertyquerty.github.io/pypresence/html/index.html
Licenses: MIT
Submitter: Brocellous
Maintainer: Brocellous
Last Packager: Brocellous
Votes: 3
Popularity: 0.34
First Submitted: 2019-05-19 06:43
Last Updated: 2021-04-01 10:55

Latest Comments

Spanner_Man commented on 2021-03-11 14:05

You can install this with the following PKGBUILD

# Maintainer: Ronan Pigott <rpigott@berkeley.edu>

pkgname='python-pypresence'
pkgver=4.2.0
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')
makedepends=('python-setuptools')
depends=('python')
source=("https://files.pythonhosted.org/packages/source/p/pypresence/pypresence-$pkgver.tar.gz"
        "https://raw.githubusercontent.com/qwertyquerty/pypresence/master/LICENSE")
sha256sums=('54618a18085d104aa063df8296dac95cf01b922ed8aab4b021f71718bb3f19b1'
            'a3286e2d54c65b24c18fb69c714fd19318f3ce9b36a816f198d2cae28c77dfc3')

build() {
  cd "${srcdir}/pypresence-${pkgver}"
  python setup.py build
}

package() {
  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

  cd "${srcdir}/pypresence-${pkgver}"
  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
}

katt commented on 2020-12-06 13:49

Could you set an alternative filename for LICENSE? like "{pkgname}-LICENSE"? Currently failing to build this as I'm using SRCDEST.

zyg812 commented on 2020-01-07 14:24

Authors don't do all releases on github, so source should be switched to PyPi. https://wiki.archlinux.org/index.php/Python_package_guidelines#Source