From e3bf75f66aeb3e99497389c6a95783732e572cb5 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Fri, 12 Jan 2018 22:21:51 -0200 Subject: [PATCH 1/2] khard: update to 0.12.1. --- srcpkgs/khard/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/khard/template b/srcpkgs/khard/template index cd27d824227..d60686f24a2 100644 --- a/srcpkgs/khard/template +++ b/srcpkgs/khard/template @@ -1,19 +1,19 @@ # Template file for 'khard' pkgname=khard -version=0.11.4 -revision=2 +version=0.12.1 +revision=1 noarch=yes build_style=python3-module pycompile_module="khard" hostmakedepends="python3-setuptools" depends="python3-setuptools python3-atomicwrites python3-configobj - python3-vobject python3-yaml" + python3-vobject python3-Unidecode python3-ruamel.yaml" short_desc="Command-line addressbook built around CardDAV" maintainer="Oliver Kiddle " license="GPL-3" homepage="https://github.com/scheibler/khard" distfiles="${PYPI_SITE}/k/khard/khard-${version}.tar.gz" -checksum=81776d05e8f121f8969daf561f5c774c665378255ba0064b02a82d490da610ea +checksum=230cff736a6ec2bbe9f4456fad69e586fc88e64f1bc7245b753e68976829fff6 post_install() { vsconf misc/khard/khard.conf.example From 778b908423d878f66d3f253d4beb50eef82129a9 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Fri, 12 Jan 2018 22:36:51 -0200 Subject: [PATCH 2/2] New package: python-ruamel.yaml-0.15.35. --- srcpkgs/python-ruamel.yaml/template | 28 ++++++++++++++++++++++++++++ srcpkgs/python3-ruamel.yaml | 1 + 2 files changed, 29 insertions(+) create mode 100644 srcpkgs/python-ruamel.yaml/template create mode 120000 srcpkgs/python3-ruamel.yaml diff --git a/srcpkgs/python-ruamel.yaml/template b/srcpkgs/python-ruamel.yaml/template new file mode 100644 index 00000000000..3f0e148db84 --- /dev/null +++ b/srcpkgs/python-ruamel.yaml/template @@ -0,0 +1,28 @@ +# Template file for 'python-ruamel.yaml' +pkgname=python-ruamel.yaml +version=0.15.35 +revision=1 +wrksrc="ruamel.yaml-${version}" +build_style=python-module +pycompile_module="ruamel/yaml" +hostmakedepends="python-setuptools python3-setuptools" +makedepends="python-devel python3-devel" +short_desc="YAML parser/emitter in Python2" +maintainer="maxice8 " +license="MIT" +homepage="https://bitbucket.org/ruamel/yaml" +distfiles="${PYPI_SITE}/r/ruamel.yaml/ruamel.yaml-${version}.tar.gz" +checksum=8dc74821e4bb6b21fb1ab35964e159391d99ee44981d07d57bf96e2395f3ef75 + +post_install() { + vlicense LICENSE +} + +python3-ruamel.yaml_package() { + pycompile_module="ruamel/yaml" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-ruamel.yaml b/srcpkgs/python3-ruamel.yaml new file mode 120000 index 00000000000..6fd88536619 --- /dev/null +++ b/srcpkgs/python3-ruamel.yaml @@ -0,0 +1 @@ +python-ruamel.yaml \ No newline at end of file