From 608f607766ed14009aae09fc567a8ccac63e44d3 Mon Sep 17 00:00:00 2001 From: Anjandev Momi Date: Sun, 27 Dec 2020 23:05:26 -0500 Subject: [PATCH 1/3] New package: python3-dephell-0.8.3 --- srcpkgs/python3-dephell/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-dephell/template diff --git a/srcpkgs/python3-dephell/template b/srcpkgs/python3-dephell/template new file mode 100644 index 00000000000..3f899bf8458 --- /dev/null +++ b/srcpkgs/python3-dephell/template @@ -0,0 +1,20 @@ +# Template file for 'python3-dephell' +pkgname=python3-dephell +version=0.8.3 +revision=1 +build_style=python3-module +#configure_args="" +#make_build_args="" +#make_install_args="" +#conf_files="" +#make_dirs="/var/log/dir 0755 root root" +hostmakedepends="python3-setuptools" +makedepends="" +depends="" +short_desc="Python project management" +maintainer="Anjandev Momi " +license="MIT" +homepage="https://dephell.org/" +distfiles="https://github.com/dephell/dephell/archive/v.$version.tar.gz" +checksum=d37fba0fb163831ba47bf94d140a56fa175251f1b80deba78ced4be10d92c8ae +wrksrc=dephell-v.$version/ From a51117350b2d839e194c0754f24117d17bac9577 Mon Sep 17 00:00:00 2001 From: Anjandev Momi Date: Sun, 27 Dec 2020 23:05:51 -0500 Subject: [PATCH 2/3] New package: maturin-0.8.3 --- srcpkgs/maturin/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/maturin/template diff --git a/srcpkgs/maturin/template b/srcpkgs/maturin/template new file mode 100644 index 00000000000..699af062039 --- /dev/null +++ b/srcpkgs/maturin/template @@ -0,0 +1,21 @@ +# Template file for 'maturin' +pkgname=maturin +version=0.8.3 +revision=1 +#archs="i686 x86_64" +wrksrc=maturin-$version +build_style=cargo +#configure_args="" +#make_build_args="" +#make_install_args="" +#conf_files="" +#make_dirs="/var/log/dir 0755 root root" +hostmakedepends="python3-setuptools python3-toml cargo" +makedepends="" +depends="" +short_desc="Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages" +maintainer="Anjandev Momi " +license="Apache-2.0" +homepage="https://github.com/PyO3/maturin" +distfiles="https://github.com/PyO3/maturin/archive/v$version.tar.gz" +checksum=8e18580bd4911b438331deee6a15cf755ccc425547fb26c027306b385845285e From 863e8401b0c987a319e25d42e77a10c5fba02603 Mon Sep 17 00:00:00 2001 From: Anjandev Momi Date: Sun, 27 Dec 2020 23:06:26 -0500 Subject: [PATCH 3/3] New package: python3-adblock-0.4.0 --- srcpkgs/python3-adblock/template | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 srcpkgs/python3-adblock/template diff --git a/srcpkgs/python3-adblock/template b/srcpkgs/python3-adblock/template new file mode 100644 index 00000000000..dea995cd67f --- /dev/null +++ b/srcpkgs/python3-adblock/template @@ -0,0 +1,28 @@ +# Template file for 'python3-adblock' +pkgname=python3-adblock +version=0.4.0 +revision=1 +#archs="i686 x86_64" +#wrksrc= +#create_wrksrc=yes +build_style=python3-module +#configure_args="" +#make_build_args="" +#make_install_args="" +#conf_files="" +#make_dirs="/var/log/dir 0755 root root" +hostmakedepends="python3-setuptools python3-dephell cargo maturin pkg-config" +makedepends="libressl-devel" +depends="python3" +short_desc="Python wrapper for Brave's adblocking library, which is written in Rust" +maintainer="Anjandev Momi " +license="MIT" +homepage="https://github.com/ArniDagur/python-adblock" +distfiles="https://github.com/ArniDagur/python-adblock/archive/$version.tar.gz" +wrksrc=python-adblock-$version +checksum=49cf5bef7a637b9c08ddf6d2f68d11b522f341d2667ea9eb9ef584a59d130a92 + +do_build() { + maturin build --release --strip + cargo build --release --locked --all-features --target-dir=. +}