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 646EC7812D5 for <~alpine/aports@lists.alpinelinux.org>; Fri, 24 Jun 2022 04:36:32 +0000 (UTC) Received: by cloudsdale.the-delta.net.eu.org (OpenSMTPD) with ESMTP id 1154debe; Fri, 24 Jun 2022 04:36:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=hacktivis.me; h=from:to :cc:date:message-id:mime-version:content-transfer-encoding; s= 20190711_142157; bh=B64Cls5vsMevlAkmvq8si3+FT+pWvYw3IqVPt+T+d1g=; b= cq0KF5z8BpSUBHD8q7gSlywIS07zZdhxjjESAY7MIgBRMt8tYWXg1dl0NI1NitZw kc5KC1RDpMWalVyo0SOPsplF8EaGPagezhpAD81tymmY+E2vyDHHZmoVUFIdFjda NYGzm00h2bA+qEDq2Hq9YzUCgRmzJIZXoIKlJwtytFvy3PZVztDEevjy2YnOjEqP kM13nYsDVJyoh0/0YeGnmEJ4YXNgJYNnzrJP3RPUkI7iu6qjVC66xyXxS/oFCTqb iIM3X3mbfvBoJM9d2L5KSi+5oXyLsGPsLNv5w/aYdDeZoF/eGJcg/PkrYLgdyhrv TrFjAWm58joYHX2M8y4DL6zwU9SspuX9Al/fYz2dBIKCwbSqjmC+nqpZ8XhB0vhM +SLoUoyZaLUXO2Wr1GNu1xGogy5aPBEuaum2fjqY73Txe4D6FqPl2y6SF5xbwRjF tsq2I/IvTj8EyY3Vt/wCtzExXA/ujviIw6FqW1+1KgFu2XIKubcoT0PITVfPZfpv VQ5xA3TQHKBy42v8jzjQu1hSb6dmsEsB5lBJXiSLoxB06wurSF0x5tzXmbd/mMO5 Yk0IS0JwJ62vBYU59QqY4D2bQt8kMjd7SZ9VsA5FO7G6EEOHW5zZUQjUn1CpSG82 z5GXIoRzxDgW2x5b9srFq4HtP0wLMFsyHIx5Jj3bdpQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=hacktivis.me; h=from:to:cc :date:message-id:mime-version:content-transfer-encoding; q=dns; s=20190711_142157; b=GwmAtJbN0yqCF4NQ1DZe8ZpF43aAx+aazZzRL9oNz+ 6nrD5vviRYbY+NXOz175d8D8cEmJHY215owpFVr/lmcuPAfhQ05FtAFAv2A8EBmf gM/FhDs5aCIgEifCaOw+vH496pCCwaEiZv02ci9Rgp6t7KtiTOKPeNGWvOKVoKF8 bV/+OKNsCXPqAyr7jVT+hKppcPReM16MdG4pqm610vC8HdM5wOBKHi9XFeVEEgBZ w1+QxR9LLL3PqIQ0jB9gcajpJg5CyPVYSfKosD0BL82eJA/sHSLmF3968dXJEJ96 gKkC2qn2c9CDBNQzpMVidj6jANybXKfKpW+iXLGcVonZFp8H2hGO23UDNZbLEq6r GTQmTlq9tZb3TXnYfyyEgJpBfM6ni8C0nmiyhzN46Ts0fTNXuur2npVrcxRTj5KJ DqUOH/NpQ9ZOVo4Y5hzaAlIBOJMsTdIWGzbIWsW7YryoqBQmCup3RCKcjL8oz94n VRKPLHFjgiN78PW3q1o8bVlFaRe3Ad7GFQSetPjtBzfyHtuWF2aBXc2h1JlG9TTf RhxkmpuSwuIZPPZ5t7KrCBX3ppZnoBOCoUUqbJAhVQI2eSiCZc0yLDMI8fVKlf5A mD9ltn+XLfxlvH+4CA3zIfiFpRI8qhNbO6AAPu9ODe4FptL1z15BkasVMDmPQda1 E= Received: from localhost (cloudsdale.the-delta.net.eu.org [local]) by cloudsdale.the-delta.net.eu.org (OpenSMTPD) with ESMTPA id c746067c; Fri, 24 Jun 2022 04:36:31 +0000 (UTC) From: "Haelwenn (lanodan) Monnier" To: ~alpine/aports@lists.alpinelinux.org Cc: "Haelwenn (lanodan) Monnier" Subject: [PATCH 1/3] testing/py3-blurhash: new aport Date: Fri, 24 Jun 2022 06:36:27 +0200 Message-Id: <20220624043629.20186-1-contact@hacktivis.me> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit --- testing/py3-blurhash/APKBUILD | 37 +++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 testing/py3-blurhash/APKBUILD diff --git a/testing/py3-blurhash/APKBUILD b/testing/py3-blurhash/APKBUILD new file mode 100644 index 0000000000..4942dbc37f --- /dev/null +++ b/testing/py3-blurhash/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Haelwenn (lanodan) Monnier +# Maintainer: Haelwenn (lanodan) Monnier +pkgname=py3-blurhash +#_pkgreal is used by apkbuild-pypi to find modules at PyPI +_pkgreal=blurhash +pkgver=1.1.4 +pkgrel=0 +pkgdesc="Pure-Python implementation of the blurhash algorithm." +url="http://packages.python.org/pypi/blurhash" +arch="noarch" +license="MIT" +depends="python3" +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() { + # No tests in the pypi tarball, no git tags + # https://github.com/halcy/blurhash-python/issues/4 + # python3 setup.py test + : +} + +package() { + python3 setup.py install \ + --prefix=/usr \ + --root="$pkgdir" \ + --single-version-externally-managed +} + +sha512sums=" +eacef78927a1299bec19f73709435b1be55797273888e7856bbfd46d2aa1afa02f54505c15b76dcd6bd15a6817da0171aa412570c33c7ad487bfe10940ef3fd6 blurhash-1.1.4.tar.gz +" -- 2.35.1