Received: from cloudsdale.the-delta.net.eu.org (cloudsdale.the-delta.net.eu.org [138.201.117.120]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 82F817813BF for <~alpine/aports@lists.alpinelinux.org>; Fri, 24 Jun 2022 04:26:41 +0000 (UTC) Received: by cloudsdale.the-delta.net.eu.org (OpenSMTPD) with ESMTP id e4308276; Fri, 24 Jun 2022 04:26:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=hacktivis.me; h=from:to :cc:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=20190711_142157; bh=kWp7dA8So/fhi/ jpnjmO/AUO0HkWF/1VXMMJQRfdDz0=; b=IQRDlnJQgZ74z91Xd0TTMuUNcKmM6U EHpqjC0zl5EI7kut0qD+dNpqOiApuyoE76DjJnPXfb9CJ5fC8cR5B+XKUnXaW3Pv WlHx/TSb4jPOnRp8mUSpzZ7T22CF6viquR07L4iAZKAlSY0yfQRgSwfufNbhgjAi 4z5T7vHX8rP4PSZHV+DvlLX+jC3sP4xsb8CHb9TCAGuKB4I3DCAsv0JnZiQz1nwT NA8VeOLVMyl+iSEpJFFpXq3Gnmfc2XrdhLdMRkF/tkOJpLBAFOOjK9Si9mGBgl4Z GChbB4Ad3PX4XxD2g/FsF5d2drjmtqm3Fyt6Yc3TlsAPvcv7X3WiEnZmXCR3xtbv 4ONism24FVAs/AkW3SRAEWa8LaT3Hi44kIwER0mZWS+Cz2O+K7pOCA1s0rQfO06V GKujTUSXa+PAWVZOhjjSpofdEbBQ6pW20oKjVhoi/eLNioObLZN9VodkLXlM2F/D 6eNmhEECr3l+eJjujin0be4awei43V+aq17tkHqTQz0ih3Yz8YZJyhkaMJ33UkZg 3Kz7eTkN9cBHWL5kJ2SPeX4h4vNeilSDwI/fdeOLsvH5LXy8iukC7g3MUAA9aKKS 8Ruy7yPKp5cOLO/MccnPPVuGEVs6DQ3bghPIruvUmhMhsN6CjtOEZN8ARfHNgHjF fzifSDrOs1Nn0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=hacktivis.me; h=from:to:cc :date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; q=dns; s=20190711_142157; b=Tln+hAne houw/laXHcuiJ9K5mjar6eZKksIGB9P5+stjCtGq0nqXzIHl6dlgS13DCePJhy3j 4OhuNqYuixSMJEtdv1DQYs8vQmbW4lA7WAwhqZfLKgI5nBHXowgi8drRWG4CtYnl W449N8wNd7h2i2ZGyls0QAlhQX2f4gbdMF9JBy3IDsy102VYHPDLLZeKnMFVXkH9 oJ7RQ8jIl62wQrJhViTYUScZfDRvMtiFiyGJdMy0JoYpvWauuQZyTy0OYWwFc0r/ MiZwIJNuou3sREAktTK+gb4Z89XRj1qwx7yi4eCD7dJCMR0EyKbaUCV7svz8EU6h neTqOUz4TkQfZ7tCYvKHEuOZpyC2V8D32LWu2/sVgkGofpy/ia7o+ZZ8OC/3dbEn 1Ocy8A+Sy6OBPoOQb1AqrxIAnBBdxg0vJt/AL37DkpEfomacrvTj4NRCPAO3jVN6 4PlfIRuQN7+8q3DN1/iMhPl76Kz0/zVw5AvW23FvcCm4x8Kjym/JFEcRhGeXsu7d GilTq7tyYBbRM6sctAhlm17NiAcMxKdP6PAtmcO9Xv5LVh07+BcoEVh0ECDD+72c F0h1Hs1hH8Dwh5Ss+CbybGZiQzgHSPhQcraPaWl9UAp7wrpc1ke5UBWViQ7WRoLz WYHbuKXU1iQHwX/wUaboms5O5e7JHTFhN5o= Received: from localhost (cloudsdale.the-delta.net.eu.org [local]) by cloudsdale.the-delta.net.eu.org (OpenSMTPD) with ESMTPA id db027f98; Fri, 24 Jun 2022 04:26:41 +0000 (UTC) From: "Haelwenn (lanodan) Monnier" To: ~alpine/aports@lists.alpinelinux.org Cc: "Haelwenn (lanodan) Monnier" Subject: [PATCH v2 3/3] testing/py3-mastodon.py: new aport Date: Fri, 24 Jun 2022 06:26:32 +0200 Message-Id: <20220624042632.16864-3-contact@hacktivis.me> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220624033616.8252-3-contact@hacktivis.me> References: <20220624033616.8252-3-contact@hacktivis.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit --- testing/py3-mastodon.py/APKBUILD | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 testing/py3-mastodon.py/APKBUILD diff --git a/testing/py3-mastodon.py/APKBUILD b/testing/py3-mastodon.py/APKBUILD new file mode 100644 index 0000000000..1a1351bac0 --- /dev/null +++ b/testing/py3-mastodon.py/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Haelwenn (lanodan) Monnier +# Maintainer: Haelwenn (lanodan) Monnier +pkgname=py3-mastodon.py +_pkgreal=Mastodon.py +pkgver=1.5.1 +pkgrel=0 +pkgdesc="Python wrapper for the Mastodon API" +url="http://packages.python.org/pypi/Mastodon.py" +arch="noarch" +license="MIT" +depends="python3 py3-requests py3-dateutil py3-six py3-tz py3-magic py3-decorator py3-http-ece py3-cryptography py3-blurhash" +checkdepends="python3-dev py3-pytest py3-pytest-runner py3-pytest-cov py3-vcrpy py3-pytest-vcr py3-pytest-mock py3-requests-mock" +makedepends="py3-setuptools" +source="https://files.pythonhosted.org/packages/source/${_pkgreal:0:1}/$_pkgreal/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +build() { + python3 setup.py build +} + +check() { + python3 setup.py test +} + +package() { + python3 setup.py install \ + --prefix=/usr \ + --root="$pkgdir" \ + --single-version-externally-managed +} + +sha512sums=" +0c1a27b6cfcb4a197614100ffdb40ff8224162c0029598eadebdfa8984fe30519d3b163265d6f198e4a563c0e6a8bf68cafb69938f1a4768724a02f4f6971fa3 Mastodon.py-1.5.1.tar.gz +" -- 2.35.1