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