From 2efee8b95a18927878f6302d37b1143a9428b814 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 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python-gammu/template diff --git a/srcpkgs/python-gammu/template b/srcpkgs/python-gammu/template new file mode 100644 index 00000000000..0b3bf0e07dd --- /dev/null +++ b/srcpkgs/python-gammu/template @@ -0,0 +1,23 @@ +# Template file for 'python-gammu' +pkgname=python-gammu +version=2.12 +revision=1 +build_style=python-module +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* + } +} From bcbbcc32153b5dccee079827862549d1e31568f6 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 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 srcpkgs/wammu/template diff --git a/srcpkgs/wammu/template b/srcpkgs/wammu/template new file mode 100644 index 00000000000..195c748648b --- /dev/null +++ b/srcpkgs/wammu/template @@ -0,0 +1,13 @@ +# Template file for 'wammu' +pkgname=wammu +version=0.44 +revision=1 +build_style=python2-module +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