From 0a898a059d0465aae88ff3dfa8768779079d6e53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 20 Sep 2020 14:10:25 +0700 Subject: [PATCH] python-protobuf: drop package --- srcpkgs/python3-protobuf | 1 - .../template | 23 ++++++------------- .../update | 0 3 files changed, 7 insertions(+), 17 deletions(-) delete mode 120000 srcpkgs/python3-protobuf rename srcpkgs/{python-protobuf => python3-protobuf}/template (56%) rename srcpkgs/{python-protobuf => python3-protobuf}/update (100%) diff --git a/srcpkgs/python3-protobuf b/srcpkgs/python3-protobuf deleted file mode 120000 index bff725921c4..00000000000 --- a/srcpkgs/python3-protobuf +++ /dev/null @@ -1 +0,0 @@ -python-protobuf \ No newline at end of file diff --git a/srcpkgs/python-protobuf/template b/srcpkgs/python3-protobuf/template similarity index 56% rename from srcpkgs/python-protobuf/template rename to srcpkgs/python3-protobuf/template index 0a27b3223e7..02d07ec6bf5 100644 --- a/srcpkgs/python-protobuf/template +++ b/srcpkgs/python3-protobuf/template @@ -1,12 +1,12 @@ -# Template file for 'python-protobuf' -pkgname=python-protobuf +# Template file for 'python3-protobuf' +pkgname=python3-protobuf version=3.13.0 revision=2 wrksrc="${pkgname#*-}-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools python-wheel python3-wheel" -depends="python-setuptools python-six" -short_desc="Python2 bindings for Google Protocol Buffers" +build_style=python3-module +hostmakedepends="python3-setuptools python3-wheel" +depends="python3-setuptools python3-six" +short_desc="Python3 bindings for Google Protocol Buffers" maintainer="Andrew J. Hesford " license="BSD-3-Clause" homepage="https://developers.google.com/protocol-buffers/" @@ -20,19 +20,10 @@ desc_option_cppext="Build C++ extension to improve performance" if [ "$build_option_cppext" ]; then make_build_args="--cpp_implementation" make_install_args="--cpp_implementation" - makedepends+=" python-devel python3-devel protobuf-devel" + makedepends+=" python3-devel protobuf-devel" fi post_install() { sed -n 1,29p google/protobuf/__init__.py >LICENSE vlicense LICENSE } - -python3-protobuf_package() { - depends="python3-setuptools python3-six" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python-protobuf/update b/srcpkgs/python3-protobuf/update similarity index 100% rename from srcpkgs/python-protobuf/update rename to srcpkgs/python3-protobuf/update