Skip to content

Commit dd336f3

Browse files
committed
update dependencies
1 parent 1298258 commit dd336f3

File tree

5 files changed

+545
-209
lines changed

5 files changed

+545
-209
lines changed

PKGBUILD

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,20 @@
33

44
pkgname=py3status-github-notifications
55
pkgdesc="Python module for py3status to keep track of your Github notifications."
6-
pkgver=0.1.0
6+
pkgver=0.1.2
77
pkgrel=1
88
arch=('any')
99
license=('MIT')
10-
depends=('python' 'py3status' 'python-pygithub' 'awesome-terminal-fonts')
11-
makedepends=('python-setuptools')
10+
makedepends=('python-setuptools' "python-dephell")
1211
url="https://github.com/mcgillij/py3status-github-notifications"
13-
source=("https://github.com/mcgillij/py3status-github-notifications/releases/download/0.1.0/py3status-github-notifications-0.1.0.tar.gz")
14-
md5sums=('ee0630a9c072ec3b47f4a81e7e82d8c5')
12+
#source=("https://github.com/mcgillij/py3status-github-notifications/releases/download/0.1.2/py3status-github-notifications-0.1.2.tar.gz")
13+
source=("py3status-github-notifications-0.1.2.tar.gz")
14+
md5sums=('ab135b2b9e69e33fa8b06fa6d1622f56')
15+
16+
prepare() {
17+
cd "$pkgname-$pkgver"
18+
dephell deps convert --from pyproject.toml --to setup.py
19+
}
1520

1621
build() {
1722
cd "$srcdir/$pkgname-$pkgver"
@@ -20,5 +25,5 @@ build() {
2025

2126
package() {
2227
cd "$srcdir/$pkgname-$pkgver"
23-
python setup.py install --prefix=/usr --root="$pkgdir"
24-
}
28+
python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build
29+
}

0 commit comments

Comments
 (0)