From ca444c9ec59ec87c56829fb565f394a44db5304e Mon Sep 17 00:00:00 2001 From: Mohammad Amin Sameti Date: Sat, 21 Sep 2019 16:40:39 +0430 Subject: [PATCH 1/2] New package: python-gammu-2.12 --- srcpkgs/python-gammu/template | 29 +++++++++++++++++++++++++++++ srcpkgs/python3-gammu | 1 + 2 files changed, 30 insertions(+) create mode 100644 srcpkgs/python-gammu/template create mode 120000 srcpkgs/python3-gammu diff --git a/srcpkgs/python-gammu/template b/srcpkgs/python-gammu/template new file mode 100644 index 00000000000..25ad398d826 --- /dev/null +++ b/srcpkgs/python-gammu/template @@ -0,0 +1,29 @@ +# Template file for 'python-gammu' +pkgname=python-gammu +version=2.12 +revision=1 +build_style=python-module +pycompile_module="gammu" +hostmakedepends="python-setuptools python3-setuptools" +makedepends="python-devel python3-devel gammu-devel gammu-smsd" +short_desc="Python bindings for the Gammu library" +maintainer="Mohammad Amin Sameti " +license="LGPL-2.0-or-later" +homepage="https://wammu.eu/python-gammu/" +distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=1129635659d3fe6e467e0f7d2865c419e0878c613c6caa719be3416f3dc3e348 + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" pkg-config" +fi + +# Standard do_build will fail when cross compiling on 32 bit ARM +do_build() { + : +} + +python3-gammu_package() { + pkg_install() { + vmove "usr/lib/python3*" + } +} diff --git a/srcpkgs/python3-gammu b/srcpkgs/python3-gammu new file mode 120000 index 00000000000..7687af76558 --- /dev/null +++ b/srcpkgs/python3-gammu @@ -0,0 +1 @@ +python-gammu \ No newline at end of file From 93d6cb2755865a3d2e0dbe2ff884c59e16bcc0aa Mon Sep 17 00:00:00 2001 From: Mohammad Amin Sameti Date: Sat, 21 Sep 2019 16:42:05 +0430 Subject: [PATCH 2/2] New package: wammu-0.44 --- srcpkgs/wammu/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/wammu/template diff --git a/srcpkgs/wammu/template b/srcpkgs/wammu/template new file mode 100644 index 00000000000..c0afbb9f16d --- /dev/null +++ b/srcpkgs/wammu/template @@ -0,0 +1,15 @@ +# Template file for 'wammu' +pkgname=wammu +version=0.44 +revision=1 +archs=noarch +build_style=python2-module +pycompile_module="Wammu" +hostmakedepends="python-setuptools" +depends="wxPython python-gammu python-bluez" +short_desc="Mobile phone manager" +maintainer="Mohammad Amin Sameti " +license="GPL-3.0-or-later" +homepage="https://wammu.eu/wammu/" +distfiles="https://github.com/gammu/wammu/archive/${version}.tar.gz" +checksum=0265dd3cc6ebec32c4642836d8e75f0ccdd4c6b19db5c6ce3f38b8bed86e6f7d