summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Moch2019-07-24 06:23:46 -0400
committerDaniel Moch2019-07-24 06:23:46 -0400
commit384f41caea83ed9542e86b3f978f5a58b4579ed6 (patch)
tree52830be69357f3b3a6a0c39c88dfcbdf8cfd748d
parentf933e8a324dcb3e1a77ae60d835cbae0620a90f8 (diff)
downloadaur-384f41caea83ed9542e86b3f978f5a58b4579ed6.tar.gz
upgpkg: tootstream 0.3.7-1
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD11
-rw-r--r--requirements.txt.patch4
3 files changed, 15 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 69de4582bb6..ccab7bb810d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = tootstream
pkgdesc = Text interface for the Mastodon social network
- pkgver = 0.3.6
+ pkgver = 0.3.7
pkgrel = 1
url = https://github.com/magicalraccoon/tootstream
arch = any
@@ -11,8 +11,9 @@ pkgbase = tootstream
depends = python-click
depends = python-colored
depends = python-emoji
- source = tootstream-0.3.6.tar.gz::https://files.pythonhosted.org/packages/source/t/tootstream/tootstream-0.3.6.tar.gz
- sha256sums = 07ca36cca8b901e2ad5d8cd44217b26f579a143b463b8d1caa6abc40df4d0396
+ source = requirements.txt.patch
+ source = tootstream-0.3.7.tar.gz::https://files.pythonhosted.org/packages/source/t/tootstream/tootstream-0.3.7.tar.gz
+ sha256sums = 292ad86462c9203bf1923b684b5342f6885652ce2033f5a0bb14749bfff4db6f
+ sha256sums = dc2f0244078ee1fdcf80955533a7d83b1a1fb693692bf5b6080f1313948b6adb
pkgname = tootstream
-
diff --git a/PKGBUILD b/PKGBUILD
index df307c0b93e..9024870dd49 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Daniel Moch <daniel AT danielmoch DOT com>
# Contributor: Drew DeVault <sir@cmpwn.com>
pkgname=tootstream
-pkgver=0.3.6
+pkgver=0.3.7
pkgrel=1
pkgdesc="Text interface for the Mastodon social network"
arch=(any)
@@ -13,12 +13,13 @@ depends=(python-mastodon
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')
+source=("requirements.txt.patch"
+ "${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('292ad86462c9203bf1923b684b5342f6885652ce2033f5a0bb14749bfff4db6f'
+ 'dc2f0244078ee1fdcf80955533a7d83b1a1fb693692bf5b6080f1313948b6adb')
prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- sed -ie 's/Mastodon.py==1\.3\.1/Mastodon.py/g' requirements.txt
+ patch ${pkgname}-${pkgver}/requirements.txt requirements.txt.patch
}
build() {
diff --git a/requirements.txt.patch b/requirements.txt.patch
new file mode 100644
index 00000000000..9e7a4a44b75
--- /dev/null
+++ b/requirements.txt.patch
@@ -0,0 +1,4 @@
+2c2
+< Mastodon.py==1.4.5
+---
+> Mastodon.py>=1.4.5