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