diff --git a/srcpkgs/python-curl/template b/srcpkgs/python-curl/template index 9d60378f132..ade4faefc98 100644 --- a/srcpkgs/python-curl/template +++ b/srcpkgs/python-curl/template @@ -1,11 +1,10 @@ # Template file for 'python-curl' pkgname=python-curl version=7.43.0 -revision=3 +revision=4 wrksrc="pycurl-${version}" build_style=python-module -python_versions="2.7 3.4" -hostmakedepends="python-devel python3.4-devel" +hostmakedepends="python-devel python3-devel" makedepends="libressl-devel libcurl-devel ${hostmakedepends}" pycompile_module="curl" short_desc="Python2 interface to cURL library" @@ -19,11 +18,16 @@ pre_build() { sed -i "/setup_args\['data_files'\] = /d" setup.py } -python3.4-curl_package() { - pycompile_version="3.4" +python3-curl_package() { pycompile_module="curl" - short_desc="${short_desc/Python2/Python3.4}" + replaces="python3.4-curl>=0" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* } } +python3.4-curl_package() { + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-curl>=${version}_${revision}" +} diff --git a/srcpkgs/python3-curl b/srcpkgs/python3-curl new file mode 120000 index 00000000000..c90170b4eff --- /dev/null +++ b/srcpkgs/python3-curl @@ -0,0 +1 @@ +python-curl \ No newline at end of file