summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD48
2 files changed, 29 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f11433fca0c..69de4582bb6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = tootstream
pkgdesc = Text interface for the Mastodon social network
- pkgver = 0.3.3
+ pkgver = 0.3.6
pkgrel = 1
url = https://github.com/magicalraccoon/tootstream
arch = any
@@ -11,8 +11,8 @@ pkgbase = tootstream
depends = python-click
depends = python-colored
depends = python-emoji
- source = tootstream-0.3.3.tar.gz::https://github.com/magicalraccoon/tootstream/archive/0.3.3.tar.gz
- sha512sums = 8c311447246f3273901432aac6742a025ee6f12a119bcb761670cf725c609b83855afec4e99d1acc2b062943251e59cbe7942cc03d2935e0228dba9b3b56c54c
+ source = tootstream-0.3.6.tar.gz::https://files.pythonhosted.org/packages/source/t/tootstream/tootstream-0.3.6.tar.gz
+ sha256sums = 07ca36cca8b901e2ad5d8cd44217b26f579a143b463b8d1caa6abc40df4d0396
pkgname = tootstream
diff --git a/PKGBUILD b/PKGBUILD
index 0747bbc5294..df307c0b93e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,34 @@
-# Maintainer: Drew DeVault <sir@cmpwn.com>
-pkgname="tootstream"
-pkgver=0.3.3
+# Maintainer: Daniel Moch <daniel AT danielmoch DOT com>
+# Contributor: Drew DeVault <sir@cmpwn.com>
+pkgname=tootstream
+pkgver=0.3.6
pkgrel=1
pkgdesc="Text interface for the Mastodon social network"
-arch=("any")
-url="https://github.com/magicalraccoon/tootstream"
-license=("MIT")
-depends=(
- "python-mastodon"
- "python-humanize"
- "python-click"
- "python-colored"
- "python-emoji"
-)
-makedepends=("python-distribute")
-source=("$pkgname-$pkgver.tar.gz::https://github.com/magicalraccoon/${pkgname}/archive/${pkgver}.tar.gz")
-sha512sums=('8c311447246f3273901432aac6742a025ee6f12a119bcb761670cf725c609b83855afec4e99d1acc2b062943251e59cbe7942cc03d2935e0228dba9b3b56c54c')
+arch=(any)
+url="https://github.com/magicalraccoon/${pkgname}"
+license=(MIT)
+depends=(python-mastodon
+ python-humanize
+ python-click
+ python-colored
+ python-emoji)
+makedepends=(python-distribute)
+source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('07ca36cca8b901e2ad5d8cd44217b26f579a143b463b8d1caa6abc40df4d0396')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -ie 's/Mastodon.py==1\.3\.1/Mastodon.py/g' requirements.txt
+}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- sed -ie 's/colored==1\.3\.4/colored/g' requirements.txt
- sed -ie 's/click==6.6/click/g' requirements.txt
- python ./setup.py build
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python ./setup.py build
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- python setup.py install --root="$pkgdir" --optimize=1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python setup.py install --root="$pkgdir" --optimize=1
}
+
+# vim: ft=PKGBUILD sts=2 sw=2: