summaryrefslogtreecommitdiff
path: root/chat/py-mastodon
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2018-07-25 17:00:57 +0000
committernia <nia@pkgsrc.org>2018-07-25 17:00:57 +0000
commit4a8fdc1a39d4a3b31b71f670670e256cb424bbb2 (patch)
tree77b7606c11a0f9056c6f5f26f0eb882c3c7085ee /chat/py-mastodon
parentde1362f3346f723118b2d8f6dc98a8bb2389c85f (diff)
downloadpkgsrc-4a8fdc1a39d4a3b31b71f670670e256cb424bbb2.tar.gz
chat/py-Mastodon.py: Move to chat/py-mastodon following feedback on irc.
Diffstat (limited to 'chat/py-mastodon')
-rw-r--r--chat/py-mastodon/DESCR3
-rw-r--r--chat/py-mastodon/Makefile25
-rw-r--r--chat/py-mastodon/PLIST15
-rw-r--r--chat/py-mastodon/distinfo6
4 files changed, 49 insertions, 0 deletions
diff --git a/chat/py-mastodon/DESCR b/chat/py-mastodon/DESCR
new file mode 100644
index 00000000000..01a70b34efa
--- /dev/null
+++ b/chat/py-mastodon/DESCR
@@ -0,0 +1,3 @@
+Mastodon.py is a Python wrapper for the Mastodon social networking API.
+
+It is feature complete for the public API as of Mastodon version 2.1.0.
diff --git a/chat/py-mastodon/Makefile b/chat/py-mastodon/Makefile
new file mode 100644
index 00000000000..ec76937189a
--- /dev/null
+++ b/chat/py-mastodon/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2018/07/25 17:00:57 nia Exp $
+
+VERSION= 1.2.2
+DISTNAME= Mastodon.py-${VERSION}
+PKGNAME= ${PYPKGPREFIX}-mastodon-${VERSION}
+CATEGORIES= chat www python
+MASTER_SITES= ${MASTER_SITE_PYPI:=M/Mastodon.py/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/halcy/Mastodon.py
+COMMENT= Python wrapper for the Mastodon API
+LICENSE= mit
+
+EXTRACT_USING= bsdtar
+USE_LANGUAGES= # none
+
+DEPENDS+= ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
+DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
+DEPENDS+= ${PYPKGPREFIX}-decorator-[0-9]*:../../devel/py-decorator
+DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
+DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/chat/py-mastodon/PLIST b/chat/py-mastodon/PLIST
new file mode 100644
index 00000000000..13fcf82497a
--- /dev/null
+++ b/chat/py-mastodon/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1 2018/07/25 17:00:57 nia Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/mastodon/Mastodon.py
+${PYSITELIB}/mastodon/Mastodon.pyo
+${PYSITELIB}/mastodon/Mastodon.pyc
+${PYSITELIB}/mastodon/__init__.py
+${PYSITELIB}/mastodon/__init__.pyo
+${PYSITELIB}/mastodon/__init__.pyc
+${PYSITELIB}/mastodon/streaming.pyo
+${PYSITELIB}/mastodon/streaming.pyc
+${PYSITELIB}/mastodon/streaming.py
diff --git a/chat/py-mastodon/distinfo b/chat/py-mastodon/distinfo
new file mode 100644
index 00000000000..3ae2e892517
--- /dev/null
+++ b/chat/py-mastodon/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/07/25 17:00:57 nia Exp $
+
+SHA1 (Mastodon.py-1.2.2.tar.gz) = 1589bf3c18e1ae765cd8312a4cb53164d4447d08
+RMD160 (Mastodon.py-1.2.2.tar.gz) = 282216a8179a1f019432943d5039105fc6fa3fd7
+SHA512 (Mastodon.py-1.2.2.tar.gz) = 4e82fec7a53c36a14f27a238ac97a2f71cdfbb10671013d60f3083456209c2916f7a1e22015d33238c017a9f81c46e4703477076d5974cb86816af048b5c5ecf
+Size (Mastodon.py-1.2.2.tar.gz) = 19793 bytes