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 B5F9278135C for <~alpine/aports@lists.alpinelinux.org>; Fri, 24 Jun 2022 03:43:01 +0000 (UTC) Received: by cloudsdale.the-delta.net.eu.org (OpenSMTPD) with ESMTP id 96da6e06; Fri, 24 Jun 2022 03:36:21 +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=tmz3k5cGV8F6m2 /JwZcB4uJSEtDkBYTUPCg8AxOZkHk=; b=iB6IGQrH++4bRuBrDsW/wACH1BwyaK mbW9Ej4ZRqBb7nBKZ466JB0QEJEVXlE283vbol6DljvIigh1DQItj/+WuE8Lw68Z l0x4n9WW+ndwgSugt2jq74vEvQXUQUuVyJN9Uu4cWI8ZbLSepoUR8kfZrZHUwj75 JA0HqkjF5bzU2ZPINKLgBPSwbE1Ukln0mQ5x4S//ZCpi+nPygUMcqRE2mMXEMZI7 lo/Es1k1/xsTCmAz/DRO2FyaCHrnxPmTWYkgsR6iBwmB3wZnkNK1sAJwC7TJpudh ZYlB219XgNzEXM7aG7q6WX8xbpj0io7twyhxYFI7WSw6XcxeTMQq9uI7oRBCtyRv k00TxOd+kAKafH/WDoYoI4BF10gwx0Q3LHGA/S+Dv/Bx7UIZWgSweazc6dBZgTNH cUUAUDmL8G0XmFLYxFsnConaO3H28ov+yr27ooN1om9zr9V7qdTrlQ6jIpbRxFuL ZnV1i/lCPH668ACSD3tuBW/oOWcNYAOqosjfepFAIb4rmnx8be3wh0y4K6tJuWxC yy9k2TTqqlnNHmv6KcfGj8OEa6Md/FOUl7+IIl8L+O6VVq12Qyq772RiZri6eivy TxbKp0gmgw4MHFLb7VrL+8ZDVfRAEafUz9C+FOdsQIK5tAyR3vZx3CQQSKRfbSCz k01OR6pxe9liQ= 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=elDERSO3 ng0s7zVGj8MJggO1AAvgA2Dfii6EtwEWAduhWy68ntYVkRlXIUi+Ljq7FHPDhwzx L5tAJsBoMzfufS5cmPAIjUqHd9IcpLa8o1vYHBIW/v433DzRZzjetVG9oRVp54mA B/JzB7rojqewDSrt+ueP8e+IcY75Eq+53g5Q1DZhkGP44LsRuoUkUh5AquygiJTv IrorYQJ56j0aIs6haRDmN2sDbOIY2DgLfKeBXB+oc+cYwu8wD6+m55tWWg2uciVf sEuXAJ7QOV6QhTG340HW8APqRXmyDGyDIJ0EXyYuOgQDH6ZVmwbPQcxYuWLivDS6 M646qTJpMQymPB3l2pobZ4BMmSR8oyof5bD6xglhszBqG2u+gNp7WeEAOYAtgFY4 ZQjXqZ8eFaSoddF8sS7/Vitz1rjZ4/MYPF+ow6sOYitfzJtns0SPEKHL7VTIdCju DdrvLkI6TiGaFUU5vS65WU77oSjVmUONGOXJQMbvAOZIdD8DeOihxt323YAo7me1 K1Dm3goJoJAedkFPyk3gzVMDuXlOnf2fCoHmP1XHr4/gDDc7GakfXN0xsFF5blJl dyovWrG6esA6Ltd/Rt9C9Ya+1nIYU6YeZ/quVOqw5NB5HCNCUo1mG2pnNK7G5wwd fQNte9QL5ZmrYC/UdnL100D6TV0DdWIshMs= Received: from localhost (cloudsdale.the-delta.net.eu.org [local]) by cloudsdale.the-delta.net.eu.org (OpenSMTPD) with ESMTPA id a0dca649; Fri, 24 Jun 2022 03:36:20 +0000 (UTC) From: "Haelwenn (lanodan) Monnier" To: ~alpine/aports@lists.alpinelinux.org Cc: "Haelwenn (lanodan) Monnier" Subject: [PATCH 3/3] testing/py3-mastodon.py: new aport Date: Fri, 24 Jun 2022 05:36:16 +0200 Message-Id: <20220624033616.8252-3-contact@hacktivis.me> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220624033616.8252-1-contact@hacktivis.me> References: <20220624033616.8252-1-contact@hacktivis.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit --- testing/py3-mastodon.py/APKBUILD | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 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..acac9cadca --- /dev/null +++ b/testing/py3-mastodon.py/APKBUILD @@ -0,0 +1,35 @@ +# 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/0b/cf/7db7cd302c747f2f10a6037a220f6a72ac3a3c15862aee4ea8d7c64a2645/Mastodon.py-1.5.1.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +build() { + python3 setup.py build +} + +check() { + python3 setup.py test +} + +package() { + PYTHONPATH=$pkgdir`python3 -c "import site; print(site.getsitepackages()[0])"` \ + python3 setup.py install \ + --prefix=/usr \ + --root="$pkgdir" \ + --single-version-externally-managed +} + +sha512sums=" +0c1a27b6cfcb4a197614100ffdb40ff8224162c0029598eadebdfa8984fe30519d3b163265d6f198e4a563c0e6a8bf68cafb69938f1a4768724a02f4f6971fa3 Mastodon.py-1.5.1.tar.gz +" -- 2.35.1