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 12480781336 for <~alpine/aports@lists.alpinelinux.org>; Fri, 24 Jun 2022 03:42:59 +0000 (UTC) Received: by cloudsdale.the-delta.net.eu.org (OpenSMTPD) with ESMTP id 515eb47a; Fri, 24 Jun 2022 03:36:18 +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=bAq8FDv4ccSfjrEV2gC26bZJ2lZ6WYnD/5BdgZ/YsT8=; b= iX6KOXPTWhoeCaKwD5G/W0vQ8mTZHdHDyNWj3HZOa/PxLVn8LPScBelHni6lQ2xQ oIL8WpKOJDxqNrLXFgUIBagL6wdYRGwBg/vyaKxFM9fXX4g42ZvQvo8D3Z/OlJPd 0J/paglIHGTJA92wuWRvLeD4hELjo84U6zhnZ/6FTVt7RDpdQHKVbFc3orQciGQZ cdozgHPd/M7k6qy9/RpaMufwxG2b+XsS2dtRXgfewt2QkZv1axStNF3MNensgd4I MWShfSEFEs+6yZSLIBUnrpw+PBgwP5Q8xVYe1WLPvVLrzX6OEjJZUyfpDFn4xq2n yCbrZ5MR096xn68LhQosaNhtYPI7eOoyUYTLoKWdo9Dfn02Vx9Xch6nAUhYyDiOy tTQUN0CfP8TXKCFjRySAZZVNiciFkA1JKK/Uft/R+UYT2hcuabJhU3ZHsz9Cyz8h J2vHDCLLC2qwuq5SGY+m6eNtyJCZFTm39ZHiks32Hj+0znyEs/ckkO3K+WEMup4g dKBGuKWgyAxVOtkhoNVr8SPYeF3bkkv9eIyMfCrWmSN4aE4Uc4acMnS7m1zLwVXR 2zygm85zuoVHpRf0nNreEFzs60FKvonldZhfGpMtJfyZAPVN5LiQTnOP8VVxTA/n /OgrK8AXEUefxpKJwnYClOUfxvEM91ENpNY5ScuU/f0= 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=Vui7qrA6P4tr/TF3+GFKTEDdEGh9jNFJmxai/SSiqB BV1f1C1VUobUKDCZxzbNsD0x32ieKbViKcNZsDNSv3Wdyy4kngq/4mdZ3eJcW9C7 x6OG1KLN7CypmlxE12Zscwg/ljJdnMDjGCKELCphVzVJgbyhZ4+XXIjJK0UvkMwE 8ZT6DYrkSOSkhT9u2gYRFpL3bUjDHxa9qULEF+UYRNMqjNnxGnC98N174bM4/L9k LyOvKr6E4mR3v+K8Kb5LxThBtunZlgkRqFP8+vtMhZTNkbT4ti/3kXhaJQeu6tuM Z546nnyWvd/HXfPOuDAHLA5k63W8/MZqHPE5EP+DVKY+qY50rHsLjSVBkqqj1MxP CwjInVcBtRJn/o3VOVMDxaSfJFZldHm2E1lg4M1+JVkXq9mOjSeNLNVP0jr8n62q CLCAE+eVtKrdO+7nwJZh9M5tgttTPOSPswYB0tir5kk/6OU9dX+4luqKXWu0d/6W UJEnN5Bv1j/uzCenFvLKnYswjtF5Ditvf7lCuP5JxFgkVFa6UBYiqB+Fy6PFnzGs M985k2FkrT/kU08CA5vqxZBpF1LuWzvnWRRnSMqQXrcAjfu96qAl7Yco6LlNBUPo TJEGkcak2eAyGDUPyJMLjb1tYOHQCmLY2aMZuC1jBUCwEiozErAUne3kkbGGXRT3 0= Received: from localhost (cloudsdale.the-delta.net.eu.org [local]) by cloudsdale.the-delta.net.eu.org (OpenSMTPD) with ESMTPA id 94e3cb55; Fri, 24 Jun 2022 03:36:18 +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 05:36:14 +0200 Message-Id: <20220624033616.8252-1-contact@hacktivis.me> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit --- testing/py3-blurhash/APKBUILD | 39 +++++++++++++++++++++++++++++++++++ 1 file changed, 39 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..7650f5a5a8 --- /dev/null +++ b/testing/py3-blurhash/APKBUILD @@ -0,0 +1,39 @@ +# 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" +#checkdepends="python3-dev py3-pytest cmd:pytest py3-pillow py3-numpy" +makedepends="py3-setuptools" +source="https://files.pythonhosted.org/packages/02/96/363eae896ec6a699dfc63f19f9b857c09294fe4d791198f002baa495fc4e/blurhash-1.1.4.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() { + PYTHONPATH=$pkgdir`python3 -c "import site; print(site.getsitepackages()[0])"` \ + python3 setup.py install \ + --prefix=/usr \ + --root="$pkgdir" \ + --single-version-externally-managed +} + +sha512sums=" +eacef78927a1299bec19f73709435b1be55797273888e7856bbfd46d2aa1afa02f54505c15b76dcd6bd15a6817da0171aa412570c33c7ad487bfe10940ef3fd6 blurhash-1.1.4.tar.gz +" -- 2.35.1