From 30d30ac9ce6bba54db48420a7ec2568e1a5d7f2b Mon Sep 17 00:00:00 2001 From: Maurizio Porrato Date: Wed, 18 Oct 2017 21:13:24 +0100 Subject: [PATCH] New package: python-pathtools 0.1.2 Closes: #8311 [via git-merge-pr] --- srcpkgs/python-pathtools/template | 31 +++++++++++++++++++++++++++++++ srcpkgs/python3-pathtools | 1 + 2 files changed, 32 insertions(+) create mode 100644 srcpkgs/python-pathtools/template create mode 120000 srcpkgs/python3-pathtools diff --git a/srcpkgs/python-pathtools/template b/srcpkgs/python-pathtools/template new file mode 100644 index 00000000000..16ed83b0fc2 --- /dev/null +++ b/srcpkgs/python-pathtools/template @@ -0,0 +1,31 @@ +# Template file for 'python-pathtools' +pkgname=python-pathtools +version=0.1.2 +revision=1 +noarch=yes +wrksrc="pathtools-${version}" +build_style=python-module +pycompile_module="pathtools" +hostmakedepends="python-setuptools python3-setuptools" +depends="python" +short_desc="File system general utilities (Python2)" +maintainer="Maurizio Porrato " +homepage="https://github.com/gorakhargosh/pathtools" +license="MIT" +distfiles="${PYPI_SITE}/p/pathtools/pathtools-${version}.tar.gz" +checksum=7c35c5421a39bb82e58018febd90e3b6e5db34c5443aaaf742b3f33d4655f1c0 + +post_install() { + vlicense LICENSE +} + +python3-pathtools_package() { + noarch=yes + pycompile_module="pathtools" + depends="python3" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-pathtools b/srcpkgs/python3-pathtools new file mode 120000 index 00000000000..febf45fa60f --- /dev/null +++ b/srcpkgs/python3-pathtools @@ -0,0 +1 @@ +python-pathtools \ No newline at end of file