From 4ca6da4d6d2f9626ea03c3aac76c724bfb046c72 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 | 24 ++++++++++++++++++++++++ srcpkgs/python3-gammu | 1 + 2 files changed, 25 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..d286fee11d8 --- /dev/null +++ b/srcpkgs/python-gammu/template @@ -0,0 +1,24 @@ +# Template file for 'python-gammu' +pkgname=python-gammu +version=2.12 +revision=1 +build_style=python-module +pycompile_module="gammu" +hostmakedepends="python-devel python3-devel python-setuptools python3-setuptools" +makedepends="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 + +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 5f847bd740e90326cbf80fab4d06f35d4433f075 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