From 9e7dcb1e85beb2ddde1f95d894f1ddf6ab4ed8d2 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 22 Apr 2018 19:03:00 +0200 Subject: [PATCH] New package: python-pkgconfig-1.3.1 --- srcpkgs/python-pkgconfig/template | 31 +++++++++++++++++++++++++++++++ srcpkgs/python3-pkgconfig | 1 + 2 files changed, 32 insertions(+) create mode 100644 srcpkgs/python-pkgconfig/template create mode 120000 srcpkgs/python3-pkgconfig diff --git a/srcpkgs/python-pkgconfig/template b/srcpkgs/python-pkgconfig/template new file mode 100644 index 00000000000..f6533a86971 --- /dev/null +++ b/srcpkgs/python-pkgconfig/template @@ -0,0 +1,31 @@ +# Template file for 'python-pkgconfig' +pkgname=python-pkgconfig +version=1.3.1 +revision=1 +noarch=yes +wrksrc="pkgconfig-${version}" +build_style=python-module +pycompile_module="pkgconfig" +hostmakedepends="python-setuptools python3-setuptools" +depends="python" +short_desc="Python2 module to interface with pkg-config" +maintainer="Alessio Sergi " +homepage="https://github.com/matze/pkgconfig" +license="MIT" +distfiles="${PYPI_SITE}/p/pkgconfig/pkgconfig-${version}.tar.gz" +checksum=0bc77e955a5990b466b7277234a88dc6a62f1f4388ac1e95469051c82a17fd80 + +post_install() { + vlicense LICENSE +} + +python3-pkgconfig_package() { + noarch=yes + depends="python3" + pycompile_module="pkgconfig" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-pkgconfig b/srcpkgs/python3-pkgconfig new file mode 120000 index 00000000000..9b18703342b --- /dev/null +++ b/srcpkgs/python3-pkgconfig @@ -0,0 +1 @@ +python-pkgconfig \ No newline at end of file