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 85F9F781108 for <~alpine/aports@lists.alpinelinux.org>; Fri, 24 Jun 2022 04:26:39 +0000 (UTC) Received: by cloudsdale.the-delta.net.eu.org (OpenSMTPD) with ESMTP id a6ad6775; Fri, 24 Jun 2022 04:26:39 +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=B64Cls5vsMevlA kmvq8si3+FT+pWvYw3IqVPt+T+d1g=; b=JUQJYQiyBZ68tNLHkAh37DgMNeHb6N 5NUtnVUu7RneS1XucnbOTuYsQ31Zewq0cF2wUzLXchPNW45SEtxfLyB4JPNxqZ14 wGQ0q0PUPczX5BQeXWGDIWT66iK49pHbLacM+mtbAimRWWYZzgQQw+pu/ktjvjHR hr7M3m0sbo8RSuLq5cFgb73Cr/hwPuuZot5L0RNFoxjwimGm5pxVlq353K2FGWVJ EuVK1wIkLQo/HNYoDQLmsyqr1uruYv4jATMAWGJ7YzBOLDuwzSUyk69CjkEak4q0 VhJsPkhiCyGeKl9b9J5V8J1D4R6s9f4gMbIxyhMEoGi63FHW5gxOWHlkNhwF7/Cm /8V8R0d4oYXsPhQOUXxxoN95aOeXvqqMytANwPm4NBDN6DoM7MO5JZpNGxIYDhhE Ch9IhNQuCbH+SrpoXQHn8LWxYDcTmrU45RCUM2vgqxi4JMs5HQVSrwDYTpFSwQFU shtBUvnf4AyHhsCr7cK2qLm2KZLXYB15qeh2/65CwTW2fvqp4Vx/T3IAAcudtbl1 wuq3IEQ9G0fMslSm1dkRtp5w94Z0vVsbimyAGbmMmEXtWMF+H72yWmIu+ShgcbX1 3vjT/b426XrdKGeq9aG/eReF6srZs8gI5CE6jw1m2gTYk+53NMILCsucogt5xbeo hXsGEH0PkJKw8= 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=hUkqlyTJ fHM/Wq6N8A90EqV2PTZrgPUkl/CWOlnaRiFzLuK3LyReTsRHYptSiwTPk3JDOynN /5qYM8nymOrQz/J0x6IA7CBcO2vSs3YBBbKf5pjoqsxZF8L01I1JYTGcabuRFmTU 99BkO2gb54IeY14p9qzsi1pFUnEAZGXfuTyjMnquuXuROXjWCoN0a2o75NSn7AS5 eZp0khVlz0N8uIipZjrlW/iKWH8YpX+KOA8mJjBw593ITo+LDjFoSnmJuoTBQUuT Tjn8uV0GNhCJnH5hMylNwVMfUW52pVKQTXa83woR2Y6G3pSfLG9c1f6Z6kFMDlY7 cH5t5UL92C88OgGCOMswBXtKV+SeHFyFKA5agNIDSOwkkSpIcQN55gSpp6fXyH5L SEc6ighm0dM1WL1fXwkS/Q2N5uIkNgJ1Ye3x+wcRIeF5nrEHS0QaWXYnmfsd/HwZ 2q19jXgeeqJn24VUy+dTOdgKu56gYL7RPtwdl9iDiTZ14R55pa8rRghPVFBpyqRm DssvAf6qrWOAq8a6w2HmYss/mfeOXmxEOyI8Q93gfQmITCpKDz+Sli1o3o4lQoIa MMtHqq1oB60yIPAhLg0yU417tghCuQn75P3qqAzdtDK8fBYhdAKH9E1hxJWTP3QD 3x+fx0hrilFIFrwW5DtKB8o7+DIJLiqyrNc= Received: from localhost (cloudsdale.the-delta.net.eu.org [local]) by cloudsdale.the-delta.net.eu.org (OpenSMTPD) with ESMTPA id 116c1803; Fri, 24 Jun 2022 04:26:39 +0000 (UTC) From: "Haelwenn (lanodan) Monnier" To: ~alpine/aports@lists.alpinelinux.org Cc: "Haelwenn (lanodan) Monnier" Subject: [PATCH v2 1/3] testing/py3-blurhash: new aport Date: Fri, 24 Jun 2022 06:26:30 +0200 Message-Id: <20220624042632.16864-1-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-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