From 6ec0ed14c91e446a1a8f59ab0ee0b0d24125c113 Mon Sep 17 00:00:00 2001 From: xaltsc <41400742+xaltsc@users.noreply.github.com> Date: Sat, 6 Apr 2019 03:35:26 +0200 Subject: [PATCH] New package: python-isbnlib-3.9.6 closes #10630 --- srcpkgs/python-isbnlib/template | 31 +++++++++++++++++++++++++++++++ srcpkgs/python3-isbnlib | 1 + 2 files changed, 32 insertions(+) create mode 100644 srcpkgs/python-isbnlib/template create mode 120000 srcpkgs/python3-isbnlib diff --git a/srcpkgs/python-isbnlib/template b/srcpkgs/python-isbnlib/template new file mode 100644 index 00000000000..3e2f66c6b66 --- /dev/null +++ b/srcpkgs/python-isbnlib/template @@ -0,0 +1,31 @@ +# Template file for 'python-isbnlib' +pkgname=python-isbnlib +version=3.9.6 +revision=1 +archs=noarch +wrksrc="isbnlib-${version}" +build_style=python-module +pycompile_module="isbnlib" +hostmakedepends="python-setuptools python3-setuptools" +depends="python" +short_desc="Python2 library for ISBN" +maintainer="xaltsc " +license="LGPL-3.0-only" +homepage="https://github.com/xlcnd/isbnlib" +distfiles="${PYPI_SITE}/i/isbnlib/isbnlib-${version}.tar.gz" +checksum=d4ae098cb31d6c678a6eac074a24f8ba4adfe7df65db13b0b2ab7355f28d6e3b + +post_install() { + vlicense LICENSE +} + +python3-isbnlib_package() { + archs=noarch + pycompile_module="isbnlib" + depends="python3" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-isbnlib b/srcpkgs/python3-isbnlib new file mode 120000 index 00000000000..cc5370bdda0 --- /dev/null +++ b/srcpkgs/python3-isbnlib @@ -0,0 +1 @@ +python-isbnlib \ No newline at end of file