diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 00000000..0c3e3a48 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python-pylyrics + pkgdesc = A Pythonic Implementation of lyrics.wikia.com for getting lyrics of songs + pkgver = 1.1.0 + pkgrel = 1 + url = https://github.com/geekpradd/PyLyrics + arch = any + license = GPL + makedepends = python-setuptools + depends = python-beautifulsoup4 + depends = python-requests + source = https://pypi.org/packages/source/P/PyLyrics/PyLyrics-1.1.0.zip + sha256sums = c5f36e8ef0ed3b487a9242ce34c19f9684e418a5bbffd5d367dc1d1604b4cd0b + +pkgname = python-pylyrics + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000..14c6a7ee --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +pkgname=python-pylyrics +_name=PyLyrics +pkgver=1.1.0 +pkgrel=1 +pkgdesc="A Pythonic Implementation of lyrics.wikia.com for getting lyrics of songs" +arch=('any') +url="https://github.com/geekpradd/PyLyrics" +license=('GPL') +depends=('python-beautifulsoup4' 'python-requests') +makedepends=('python-setuptools') +source=("https://pypi.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.zip") +sha256sums=('c5f36e8ef0ed3b487a9242ce34c19f9684e418a5bbffd5d367dc1d1604b4cd0b') + +build() { + cd "$_name-$pkgver" + python setup.py build +} + +package() { + cd "$_name-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +} -- 2.51.2 From f014dc639c12c5b400e60e167bc0d5d465e2af23 Mon Sep 17 00:00:00 2001 From: Mark Wagie Date: Fri, 26 Jun 2020 16:16:51 -0600 Subject: [PATCH 2/3] added Maintainer --- PKGBUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/PKGBUILD b/PKGBUILD index 14c6a7ee..cbb02319 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,3 +1,4 @@ +# Maintainer: Mark Wagie pkgname=python-pylyrics _name=PyLyrics pkgver=1.1.0 -- 2.51.2 From 30415628aaaebcf71c1c55a97c78f47fcabb5744 Mon Sep 17 00:00:00 2001 From: Mark Wagie Date: Wed, 2 Dec 2020 19:03:29 -0700 Subject: [PATCH 3/3] Python 3.9 rebuild --- .SRCINFO | 2 +- .gitignore | 7 +++++++ PKGBUILD | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.SRCINFO b/.SRCINFO index 0c3e3a48..26db1f9a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = python-pylyrics pkgdesc = A Pythonic Implementation of lyrics.wikia.com for getting lyrics of songs pkgver = 1.1.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/geekpradd/PyLyrics arch = any license = GPL diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..4dab8d63 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +# Ignore everything +* + +# But not these files... +!.gitignore +!PKGBUILD +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD index cbb02319..f03c5940 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=python-pylyrics _name=PyLyrics pkgver=1.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="A Pythonic Implementation of lyrics.wikia.com for getting lyrics of songs" arch=('any') url="https://github.com/geekpradd/PyLyrics" @@ -19,5 +19,6 @@ build() { package() { cd "$_name-$pkgver" + export PYTHONHASHSEED=0 python setup.py install --root="$pkgdir" --optimize=1 --skip-build }