diff --git a/srcpkgs/python3-aiosqlite/template b/srcpkgs/python3-aiosqlite/template new file mode 100644 index 00000000000000..d56d5dbae94dc3 --- /dev/null +++ b/srcpkgs/python3-aiosqlite/template @@ -0,0 +1,22 @@ +# Template file for 'python3-aiosqlite' +pkgname=python3-aiosqlite +version=0.22.1 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-flit_core" +checkdepends="python3-pytest" +short_desc="Python asyncio bridge to the standard sqlite3 module" +maintainer="Jason Elswick " +license="MIT" +homepage="https://github.com/omnilib/aiosqlite" +changelog="https://github.com/omnilib/aiosqlite/blob/main/CHANGELOG.md" +distfiles="https://github.com/omnilib/aiosqlite/archive/refs/tags/v${version}.tar.gz" +checksum=f58e04673453a709e59a04e80f411c327c0555304c210e84272febbcff1de7fd + +do_check() { + python3 -m unittest discover -v +} + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/python3-peewee/template b/srcpkgs/python3-peewee/template index 2f876a2c23dc81..c348283c34c600 100644 --- a/srcpkgs/python3-peewee/template +++ b/srcpkgs/python3-peewee/template @@ -1,19 +1,22 @@ # Template file for 'python3-peewee' pkgname=python3-peewee -version=4.2.1 +version=4.2.3 revision=1 build_style=python3-pep517 hostmakedepends="python3-setuptools python3-wheel python3-Cython" makedepends="python3-devel sqlite-devel" -depends="python3" +checkdepends="python3-aiosqlite python3-apsw python3-Flask python3-gevent python3-greenlet python3-psycopg2" short_desc="Small and simple ORM for Python3" -maintainer="Orphaned " +maintainer="Jason Elswick " license="MIT" homepage="https://github.com/coleifer/peewee" changelog="https://raw.githubusercontent.com/coleifer/peewee/master/CHANGELOG.md" distfiles="https://github.com/coleifer/peewee/archive/${version}.tar.gz" -checksum=99853cbf4d15b2495646d3ce1464ad484844d8cd2213f0ce84af526d920b5132 -make_check=no # tests require postgres instance +checksum=de5e67a6dfda5ba337a60a703bb0db7385fd96a4c478207329cb2a322e017c69 + +do_check() { + python -m unittest discover -v +} post_install() { vlicense LICENSE