Received: from mail-qt1-f195.google.com (mail-qt1-f195.google.com [209.85.160.195]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id B43C0782BF8 for <~alpine/aports@lists.alpinelinux.org>; Wed, 22 Jul 2020 16:02:23 +0000 (UTC) Received: by mail-qt1-f195.google.com with SMTP id 6so2212948qtt.0 for <~alpine/aports@lists.alpinelinux.org>; Wed, 22 Jul 2020 09:02:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=VwMIw/itbJjYqHUHNGdVXp02ImX3+0gfcKl92TNYe2Y=; b=QBlkT+cO32Alj1bZpXKKPBw5x4Qh2saW0NiF7YpTkT6wkDkkMi5urdS2IbC3liXI6z yZuGTW/xZwgmlDKOSpl8qBFYJtQ/jSqU7mF8x/8fYwEKqKLFd8hUl1J6rLu7jfKnS+C/ U5Y/fU94/E+TSiB0vAO+G3YdsJI4dOBbgIVgUnZjOBWjCKaRaCEQdUkCeKoFDUrl7mIO Q5p89dpPATpYQS3XlUxQt1AIojFbQtq0mDDvDBK3siJ88U0k2LEHnqU5rKNmvvOLsEBE l1nPYXawvPhaYj0X3XS+e/85+omMZzKm6OE6rRUu19z41vOwIvtWXMYWvWJyW2nWV2JG caJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VwMIw/itbJjYqHUHNGdVXp02ImX3+0gfcKl92TNYe2Y=; b=nU0cVoB8YrCoqj5O/N2KTE/PhtLFj8pFPHNr0LJ2kRte21wCL7nt9Rf89aYAhXgiJY 1qRxGA6SgRrNhWhP+27eBGnR7ChYMYaZC6NlmYs+dUH87jEzFxBmHpCKs9ai6BtPf2JT irgPKUtfaz5wD4MExf842DLvBlOy5RVIVwOQNSMS5JoF1qxGwOPXlFgXBx1xAxhL+bTu rYPIycepnAK1YQuLCBO+JLoixkqcZMbDQCwViQ1YrtHcs7kSEy/FRlKSP27xVi3tUFyA CC3hNZmnn5zHBbHDzJs/G8X3/GarNKBUKeVPITw5T5U0fepM9KERGqEApcavED08daFB xIfw== X-Gm-Message-State: AOAM5315OFdKW1sxu4HEoS08MJdVTRyBsfaeH1+j5gaf1+Ox45v/Ssq6 CeSeYWGDHxTCXWXXexD9wHMvWR8D X-Google-Smtp-Source: ABdhPJyvC+ePe8RyK/ZIXxFm0bsCeBUWzvAeHGfRcONLDmJR24ShXCV30Tc1xCUzElRJ4cqahQqVFQ== X-Received: by 2002:ac8:2a4a:: with SMTP id l10mr43071qtl.136.1595433741918; Wed, 22 Jul 2020 09:02:21 -0700 (PDT) Received: from enterprise ([2804:431:cfcd:4a79:359b:d6ab:1dc1:e240]) by smtp.gmail.com with ESMTPSA id z24sm92711qtn.7.2020.07.22.09.02.21 for <~alpine/aports@lists.alpinelinux.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jul 2020 09:02:21 -0700 (PDT) Date: Wed, 22 Jul 2020 13:02:16 -0300 From: Leo To: ~alpine/aports@lists.alpinelinux.org Subject: Re: [PATCH 1/2] community/py3-llfuse: new aport Message-ID: <20200722130216.729f7114@enterprise> In-Reply-To: <20200722154546.8484-1-sir@cmpwn.com> References: <20200722154546.8484-1-sir@cmpwn.com> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-alpine-linux-musl) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 22 Jul 2020 09:45:45 -0600 Drew DeVault wrote: > --- > 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" Please use the full SPDX identifier > +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/ Think you can just use PYTHONPATH="$(echo $PWD/build/lib.*)" instead of doing all this cut cut dance > + pytest-3 > +} > + > +package() { > + python3 setup.py install --root="$pkgdir" --optimize=1 > +} > + > +sha512sums="d67e39daf65c92ebb5bf69abb0c5dc3a88460228b5ec5ee762a11fc909369562411297e8ff9f512ee1ef539d8abec765924be581703fb7e99963c6512cb1f0bd > llfuse-1.3.6.tar.bz2"