diff --git a/srcpkgs/python-dbus/template b/srcpkgs/python-dbus/template index ee6b9ddb79f..b190d8499bf 100644 --- a/srcpkgs/python-dbus/template +++ b/srcpkgs/python-dbus/template @@ -1,7 +1,7 @@ # Template file for 'python-dbus' pkgname=python-dbus version=1.2.16 -revision=2 +revision=3 wrksrc="dbus-python-${version}" build_style=gnu-configure hostmakedepends="pkg-config python-devel python3-devel" @@ -59,9 +59,16 @@ python3-dbus_package() { vmove usr/lib/python3* } } +# This package used to provide both Python 2 and Python 3 development files +# Those files are now in python3-dbus-devel python-dbus-devel_package() { - depends="python-devel python3-devel - python-dbus>=${version}_${revision} python3-dbus>=${version}_${revision}" + depends="python-devel python-dbus>=${version}_${revision} + python3-dbus-devel>=${version}_${revision}" + build_style=meta + short_desc+=" - development files (Python 2 meta)" +} +python3-dbus-devel_package() { + depends="python3-devel python3-dbus>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include diff --git a/srcpkgs/python3-dbus-devel b/srcpkgs/python3-dbus-devel new file mode 120000 index 00000000000..082b5c2fc19 --- /dev/null +++ b/srcpkgs/python3-dbus-devel @@ -0,0 +1 @@ +python-dbus \ No newline at end of file