From dac516f2bbbdcd9c58eae7c097d9063e534c28c0 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Thu, 6 Jan 2022 21:38:53 +0100 Subject: [PATCH] python-evdev: remove package --- srcpkgs/python-evdev/template | 27 ------------------- srcpkgs/python3-evdev | 1 - .../patches/time64.patch | 0 srcpkgs/python3-evdev/template | 18 +++++++++++++ 4 files changed, 18 insertions(+), 28 deletions(-) delete mode 100644 srcpkgs/python-evdev/template delete mode 120000 srcpkgs/python3-evdev rename srcpkgs/{python-evdev => python3-evdev}/patches/time64.patch (100%) create mode 100644 srcpkgs/python3-evdev/template diff --git a/srcpkgs/python-evdev/template b/srcpkgs/python-evdev/template deleted file mode 100644 index f61e63cfc5f..00000000000 --- a/srcpkgs/python-evdev/template +++ /dev/null @@ -1,27 +0,0 @@ -# Template file for 'python-evdev' -pkgname=python-evdev -version=1.2.0 -revision=5 -build_style=python-module -pycompile_module="evdev" -hostmakedepends="python-setuptools python3-setuptools" -makedepends="python-devel python3-devel" -short_desc="Python2 bindings for the Linux input subsystem" -maintainer="Orphaned " -license="BSD-3-Clause" -homepage="https://github.com/gvalkov/python-evdev" -distfiles="https://github.com/gvalkov/python-evdev/archive/v${version}.tar.gz" -checksum=f788584510620251c6a6c68802935b71c4b474df99b87ee223e18b84dd1719a6 - -post_install() { - vlicense LICENSE -} - -python3-evdev_package() { - pycompile_module="evdev" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-evdev b/srcpkgs/python3-evdev deleted file mode 120000 index 86352378063..00000000000 --- a/srcpkgs/python3-evdev +++ /dev/null @@ -1 +0,0 @@ -python-evdev \ No newline at end of file diff --git a/srcpkgs/python-evdev/patches/time64.patch b/srcpkgs/python3-evdev/patches/time64.patch similarity index 100% rename from srcpkgs/python-evdev/patches/time64.patch rename to srcpkgs/python3-evdev/patches/time64.patch diff --git a/srcpkgs/python3-evdev/template b/srcpkgs/python3-evdev/template new file mode 100644 index 00000000000..962216d7132 --- /dev/null +++ b/srcpkgs/python3-evdev/template @@ -0,0 +1,18 @@ +# Template file for 'python3-evdev' +pkgname=python3-evdev +version=1.2.0 +revision=5 +wrksrc="python-evdev-$version" +build_style=python3-module +hostmakedepends="python3-setuptools" +makedepends="python3-devel" +short_desc="Python3 bindings for the Linux input subsystem" +maintainer="Orphaned " +license="BSD-3-Clause" +homepage="https://github.com/gvalkov/python-evdev" +distfiles="https://github.com/gvalkov/python-evdev/archive/v${version}.tar.gz" +checksum=f788584510620251c6a6c68802935b71c4b474df99b87ee223e18b84dd1719a6 + +post_install() { + vlicense LICENSE +}