From 6829f82f39bb87093fdfa9c7d811fb8f767b3f97 Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Wed, 25 Jan 2017 13:53:45 -0600 Subject: [PATCH] New package: python-smmap-2.0.1 --- srcpkgs/python-smmap/template | 29 +++++++++++++++++++++++++++++ srcpkgs/python3-smmap | 1 + 2 files changed, 30 insertions(+) create mode 100644 srcpkgs/python-smmap/template create mode 120000 srcpkgs/python3-smmap diff --git a/srcpkgs/python-smmap/template b/srcpkgs/python-smmap/template new file mode 100644 index 0000000000..3676cacbfe --- /dev/null +++ b/srcpkgs/python-smmap/template @@ -0,0 +1,29 @@ +# Template file for 'python-smmap' +pkgname=python-smmap +version=2.0.1 +revision=1 +noarch=yes +wrksrc="smmap-${version}" +build_style=python-module +pycompile_module="smmap" +hostmakedepends="python-setuptools python3-setuptools" +depends="python-yaml" +short_desc="Sliding memory map manager (Python2)" +maintainer="Joseph LaFreniere " +homepage="https://github.com/gitpython-developers/smmap" +license="BSD" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=ff3df98fe1874228c5cae8c2cca18bf0122bbd1f8957eb2339f5faa61ffc4081 + +python3-smmap_package() { + noarch=yes + depends="python3-yaml" + pycompile_module="smmap" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + } +} +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/python3-smmap b/srcpkgs/python3-smmap new file mode 120000 index 0000000000..233b028cee --- /dev/null +++ b/srcpkgs/python3-smmap @@ -0,0 +1 @@ +python-smmap \ No newline at end of file