summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Moch2018-11-24 17:19:38 -0500
committerDaniel Moch2018-11-24 17:19:38 -0500
commit4a7329b29805e81dccb08bab51f47385c35f3805 (patch)
tree7c28b493f82b225dd35a609f52306118d88dd966
parentf05da28ef25d0dc00c220c9957cc914611832abd (diff)
downloadpython-mastodon-4a7329b29805e81dccb08bab51f47385c35f3805.tar.gz
upgpkg: python-mastodon 1.3.1-1
-rw-r--r--.SRCINFO20
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD48
3 files changed, 41 insertions, 30 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b751a3a..e6279d3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,20 @@
pkgbase = python-mastodon
pkgdesc = python bindings for the Mastodon RPC API
- pkgver = 1.3.0
- pkgrel = 2
- url = https://pypi.python.org/pypi/Mastodon.py
+ pkgver = 1.3.1
+ pkgrel = 1
+ url = https://github.com/halcy/Mastodon.py
arch = any
- license = GPL
- source = https://files.pythonhosted.org/packages/f5/11/2c3973e8036e51c8b2e9e0d6115c16ed632e8a63082cf5f45a6d74f6846e/Mastodon.py-1.3.0.tar.gz
- sha256sums = 339a60c4ea505dd5b6c8f6ac076ce40f9e7bdfcd72d9466869da8bf631e4b9f5
+ license = MIT
+ depends = python
+ depends = python-requests
+ depends = python-dateutil
+ depends = python-six
+ depends = python-pytz
+ depends = python-decorator
+ depends = python-http-ece
+ depends = python-cryptography
+ source = Mastodon.py-1.3.1.tar.gz::https://files.pythonhosted.org/packages/source/M/Mastodon.py/Mastodon.py-1.3.1.tar.gz
+ sha256sums = 3f000f34e2740a90fdadd923d1a7dd100dd62d56906c026ae725ce43301f30f6
pkgname = python-mastodon
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e106615
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+src/
+pkg/
+*tar*
diff --git a/PKGBUILD b/PKGBUILD
index 009ae9c..44247a2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,33 +1,33 @@
-# Maintainer: gue5t <gue5t@aur.archlinux.org>
+# Maintainer: Daniel Moch <daniel AT danielmoch DOT com>
+# Contributor: gue5t <gue5t@aur.archlinux.org>
+_name=Mastodon.py
pkgname=python-mastodon
-pkgver=1.3.0
-pkgrel=2
+pkgver=1.3.1
+pkgrel=1
pkgdesc="python bindings for the Mastodon RPC API"
arch=('any')
-url="https://pypi.python.org/pypi/Mastodon.py"
-license=('GPL')
-groups=()
-depends=(python-requests python-dateutil python-six python-pytz python-decorator)
-makedepends=()
-optdepends=()
-provides=()
-conflicts=()
-replaces=()
-backup=()
-options=()
-install=
-changelog=
-source=(https://files.pythonhosted.org/packages/f5/11/2c3973e8036e51c8b2e9e0d6115c16ed632e8a63082cf5f45a6d74f6846e/Mastodon.py-1.3.0.tar.gz)
-noextract=()
-sha256sums=('339a60c4ea505dd5b6c8f6ac076ce40f9e7bdfcd72d9466869da8bf631e4b9f5')
+url="https://github.com/halcy/Mastodon.py"
+license=('MIT')
+depends=(python
+ python-requests
+ python-dateutil
+ python-six
+ python-pytz
+ python-decorator
+ python-http-ece
+ python-cryptography)
+source=("${_name}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha256sums=('3f000f34e2740a90fdadd923d1a7dd100dd62d56906c026ae725ce43301f30f6')
build() {
- : #nothing to do?
+ cd ${_name}-${pkgver}
+ python setup.py build
}
package() {
- cd "Mastodon.py-$pkgver"
-
- #install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- python ./setup.py install --root="$pkgdir/" --prefix=/usr --optimize=1
+ cd ${_name}-${pkgver}
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ python ./setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
+
+# vim: set sts=2 sw=2 ft=PKGBUILD: