Received: from listserv.local (listserv [172.16.8.22]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTP id 388EF781372; Fri, 24 Jun 2022 03:51:04 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit To: "Haelwenn (lanodan) Monnier" From: alice Cc: ~alpine/aports@lists.alpinelinux.org In-Reply-To: <20220624033616.8252-3-contact@hacktivis.me> Subject: Re: [PATCH 3/3] testing/py3-mastodon.py: new aport Date: Fri, 24 Jun 2022 03:51:04 -0000 Message-ID: <165604266418.985.9083210880597245649.gitlab.35633.6ce1b2c7371747b5432ffecbf267346d395f1f58@listserv.local> On Fri, 24 Jun 2022 05:36:16 +0200, Haelwenn (lanodan) Monnier wrote: > +package() { > + PYTHONPATH=$pkgdir`python3 -c "import site; print(site.getsitepackages()[0])"` \ > + python3 setup.py install \ ah, sadly the pypi template is quite old, and generally it's better to not use it.. ```suggestion:-1+0 python3 setup.py install \ ``` the --root works by itself here. same for the others -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/35633#note_243395