From d0d893049138831c397ab2f48e119d93fb8f7ccf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=28=D0=A5?= =?UTF-8?q?=D1=80=D0=B0=D0=BC=D1=8B=D1=87=D0=AA=29=20=D0=A5=D1=80=D0=B0?= =?UTF-8?q?=D0=BC=D0=BE=D0=B2?= Date: Tue, 29 Apr 2025 11:22:43 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE:=20=D1=88=D0=B0=D0=B1=D0=BB=D0=BE=D0=BD=20=D0=B3?= =?UTF-8?q?=D0=B5=D0=BD=D0=B5=D1=80=D0=B0=D1=86=D0=B8=D0=B8=20=D0=BF=D0=B0?= =?UTF-8?q?=D0=BA=D0=B5=D1=82=D0=BE=D0=B2=20pip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/gen/tmpls/pip.tmpl.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkg/gen/tmpls/pip.tmpl.sh b/pkg/gen/tmpls/pip.tmpl.sh index 8bf6c24..bd2d9a8 100644 --- a/pkg/gen/tmpls/pip.tmpl.sh +++ b/pkg/gen/tmpls/pip.tmpl.sh @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -name='{{.Info.Name | tolower}}' +name='python3-{{.Info.Name | tolower}}' version='{{.Info.Version}}' release='1' desc='{{.Info.Summary}}' @@ -48,3 +48,8 @@ package() { cd "$srcdir/{{.Info.Name}}-${version}" pip install --root="${pkgdir}/" . --no-deps --ignore-installed --disable-pip-version-check } + +files() { + printf '"%s" ' ./usr/local/lib/python3.*/site-packages/{{.Info.Name | tolower}}/* + printf '"%s" ' ./usr/local/lib/python3.*/site-packages/{{.Info.Name | tolower}}-${version}.dist-info/* +} \ No newline at end of file