Received: from mail.cmpwn.com (mail.cmpwn.com [45.56.77.53]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 2E694782BCC for <~alpine/aports@lists.alpinelinux.org>; Wed, 22 Jul 2020 15:45:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cmpwn.com; s=cmpwn; t=1595432755; bh=qOjZadUaSgb/yYIQnVLKHnl2iElxY4EA0cnEhY9tPw8=; h=From:To:Cc:Subject:Date; b=aawjpNFmgEmCeFcKFYogcFz7USGo6qq7FuAUSKUGguxpY78QDAZKU0TXfgXirFEkH GLBFyVeiCLMBvAtS6BKM5xNTOoZs7e6GT50hiS+lcsmQoIq6QZdZfDnCVz4ARI2Gzz iRuYhFRGcLKm8f1TYbiZW3UTIcD2xd5LtP6Ousc0= From: Drew DeVault To: ~alpine/aports@lists.alpinelinux.org Cc: Drew DeVault , =?UTF-8?q?Micha=C5=82=20Pola=C5=84ski?= Subject: [PATCH 1/2] community/py3-llfuse: new aport Date: Wed, 22 Jul 2020 09:45:45 -0600 Message-Id: <20200722154546.8484-1-sir@cmpwn.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit --- community/py3-llfuse/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 community/py3-llfuse/APKBUILD diff --git a/community/py3-llfuse/APKBUILD b/community/py3-llfuse/APKBUILD new file mode 100644 index 0000000000..5cf02d6163 --- /dev/null +++ b/community/py3-llfuse/APKBUILD @@ -0,0 +1,31 @@ +# Maintainer: Drew DeVault +pkgname=py3-llfuse +_pyname=llfuse +pkgver=1.3.6 +pkgrel=0 +pkgdesc="Python bindings for the low-level FUSE API" +url="https://pypi.org/project/llfuse/" +arch="all" +license="LGPL-3.0" +depends="python3 python3-dev cython fuse-dev" +checkdepends="py3-pytest" +makedepends="py3-setuptools" +_pypiprefix="${_pyname%${_pyname#?}}" +source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.bz2" +builddir="$srcdir/$_pyname-$pkgver" + +build() { + python3 setup.py build +} + +check() { + pyver=$(python3 --version | cut -d' ' -f2 | cut -d. -f1-2) + export PYTHONPATH=build/lib.linux-$(uname -m)-$pyver/ + pytest-3 +} + +package() { + python3 setup.py install --root="$pkgdir" --optimize=1 +} + +sha512sums="d67e39daf65c92ebb5bf69abb0c5dc3a88460228b5ec5ee762a11fc909369562411297e8ff9f512ee1ef539d8abec765924be581703fb7e99963c6512cb1f0bd llfuse-1.3.6.tar.bz2" -- 2.27.0