From 13de7d90c8c4013bd0a9743abe929935dce0d316 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sat, 24 Jan 2015 19:35:35 +0100 Subject: [PATCH] python-inotify: update to 0.9.5 --- srcpkgs/python-inotify/template | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/srcpkgs/python-inotify/template b/srcpkgs/python-inotify/template index 8a2379670fd..95b33a717c6 100644 --- a/srcpkgs/python-inotify/template +++ b/srcpkgs/python-inotify/template @@ -1,28 +1,27 @@ # Template file for 'python-inotify' pkgname=python-inotify -version=0.9.4 -revision=2 +version=0.9.5 +revision=1 noarch=yes wrksrc="pyinotify-${version}" build_style=python-module python_versions="2.7 3.4" hostmakedepends="python-setuptools python3.4-setuptools" -makedepends="python-devel python3.4-devel" depends="python" pycompile_module="pyinotify.py" short_desc="Monitoring filesystems events with inotify on Linux (Python2)" homepage="https://github.com/seb-m/pyinotify/" maintainer="Juan RP " license="MIT" -distfiles="https://pypi.python.org/packages/source/p/pyinotify/pyinotify-${version}.tar.gz" -checksum=a09767e4e0610e2e1e9f9dc89483b0ee4a53764e700f5866a570bec51d003fec +distfiles="${PYPI_SITE}/p/pyinotify/pyinotify-${version}.tar.gz" +checksum=e7c52a9f36cee27c5d0931ecf92959cd022317b00901bd34ef05ece4a2a5cb1b pre_install() { sed -i 's,#!/usr/bin/env python,&3.4,' build-3.4/lib/pyinotify.py } post_install() { - vinstall COPYING 644 usr/share/licenses/${pkgname} + vlicense COPYING } python3.4-inotify_package() { @@ -33,6 +32,6 @@ python3.4-inotify_package() { short_desc="${short_desc/Python2/Python3.4}" pkg_install() { vmove usr/lib/python3.4 - vinstall ${wrksrc}/COPYING 644 usr/share/licenses/${pkgname} + vlicense ${wrksrc}/COPYING } }