From 8d81add5691c11ceb55219eb7eb4188914d291bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 8 Jan 2021 08:07:11 +0700 Subject: [PATCH] sip5: rename to sip --- srcpkgs/{sip5 => sip}/template | 15 +++++++++++---- srcpkgs/{sip5 => sip}/update | 0 srcpkgs/sip5 | 1 + 3 files changed, 12 insertions(+), 4 deletions(-) rename srcpkgs/{sip5 => sip}/template (69%) rename srcpkgs/{sip5 => sip}/update (100%) create mode 120000 srcpkgs/sip5 diff --git a/srcpkgs/sip5/template b/srcpkgs/sip/template similarity index 69% rename from srcpkgs/sip5/template rename to srcpkgs/sip/template index b8e3d0bf10d..72577b77f0c 100644 --- a/srcpkgs/sip5/template +++ b/srcpkgs/sip/template @@ -1,22 +1,29 @@ -# Template file for 'sip5' -pkgname=sip5 +# Template file for 'sip' +pkgname=sip version=5.5.0 revision=1 -wrksrc="sip-$version" build_style=python3-module hostmakedepends="python3-devel python3-setuptools python3-packaging python3-toml" makedepends="python3-devel" depends="python3-setuptools python3-packaging python3-toml" -short_desc="SIP 5 - Python 3 bindings generator for C/C++ libraries" +short_desc="SIP - Python 3 bindings generator for C/C++ libraries" maintainer="Đoàn Trần Công Danh " license="GPL-2.0-only, GPL-3.0-only, custom:SIP" homepage="https://riverbankcomputing.com/software/sip/intro" distfiles="${PYPI_SITE}/s/sip/sip-${version}.tar.gz" checksum=5d024c419b30fea8a6de8c71a560c7ab0bc3c221fbfb14d55a5b865bd58eaac5 lib32disabled=yes +replaces="sip5<=${version}_${revision}" +provides="sip5-${version}_${revision}" post_install() { sed -n '1,/SUCH DAMAGE/p' sipbuild/project.py >NOTICE vlicense NOTICE vlicense LICENSE } + +sip5_package() { + short_desc+=" - transition" + build_style=meta + depends="sip>=${version}_${revision}" +} diff --git a/srcpkgs/sip5/update b/srcpkgs/sip/update similarity index 100% rename from srcpkgs/sip5/update rename to srcpkgs/sip/update diff --git a/srcpkgs/sip5 b/srcpkgs/sip5 new file mode 120000 index 00000000000..633f7c0bcce --- /dev/null +++ b/srcpkgs/sip5 @@ -0,0 +1 @@ +sip \ No newline at end of file