commit:     07095a9ff7e502ccc4e4c0f757368f704d0eddce
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Mar 27 16:25:00 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Mar 27 16:25:00 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=07095a9f

dev-python/webpy: new package

Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/webpy/Manifest          |  2 ++
 dev-python/webpy/metadata.xml      | 16 ++++++++++++++
 dev-python/webpy/webpy-0.40.ebuild | 43 ++++++++++++++++++++++++++++++++++++++
 dev-python/webpy/webpy-0.50.ebuild | 43 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 104 insertions(+)

diff --git a/dev-python/webpy/Manifest b/dev-python/webpy/Manifest
new file mode 100644
index 0000000..0a3e199
--- /dev/null
+++ b/dev-python/webpy/Manifest
@@ -0,0 +1,2 @@
+DIST webpy-0.40.tar.gz 103372 BLAKE2B 
3c9f9a3a1be57794589321c6845b691e45956cc9a55988e4dd4fe2ba056bb6118258c441ca219ae214a967f27637e26d03c5cc9052e6f869c75e4ce0458b4f20
 SHA512 
84553c916cdcbf0f994839c9293f881d0eee9450dfbfa571bb208ef47c5308569d8c2b89732ef85be92f9f8c4fb87838e1507566019d5d381fbb51419bfd64f8
+DIST webpy-0.50.tar.gz 105450 BLAKE2B 
7d4772caa1329247c494694c2804ddf575483be9463b25107b4351e719abc77420a901e9b86b3204b1b8590747eb440ccae13bc03efecb6cc830578c95de159a
 SHA512 
098727b7c754dcf7301bda0a7f93a8bb32bfaf70f8f2dab3757f6df8b41715ae3e36bf56b37aad8e97296618ee69cf9027c7e883eb11b6468225c442961f0a85

diff --git a/dev-python/webpy/metadata.xml b/dev-python/webpy/metadata.xml
new file mode 100644
index 0000000..709f247
--- /dev/null
+++ b/dev-python/webpy/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>lssndrbarbi...@gmail.com</email>
+    <name>Alessandro Barbieri</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">webpy/web.py</remote-id>
+  </upstream>
+  <longdescription lang="en">
+    web.py provides small and simple web framework for
+    python. It is a convenient tool for small sized
+    websites.
+  </longdescription>
+</pkgmetadata>

diff --git a/dev-python/webpy/webpy-0.40.ebuild 
b/dev-python/webpy/webpy-0.40.ebuild
new file mode 100644
index 0000000..48b9c01
--- /dev/null
+++ b/dev-python/webpy/webpy-0.40.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="A web framework for python that is as simple as it is powerful"
+HOMEPAGE="
+       https://www.webpy.org
+       https://github.com/webpy/webpy
+"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       dev-python/cheroot[${PYTHON_USEDEP}]
+"
+DEPEND="
+       ${RDEPEND}
+       test? (
+               >=dev-python/pytest-4.6.2[${PYTHON_USEDEP}]
+       )
+"
+#              dev-python/dbutils[${PYTHON_USEDEP}]
+#              >=dev-python/mysql-connector-python-8.0.19[${PYTHON_USEDEP}]
+#              dev-python/pymysql[${PYTHON_USEDEP}]
+#              >=dev-python/psycopg-2.8.4[${PYTHON_USEDEP}]
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs
+
+src_prepare() {
+       #tests require postgresql and mysql running
+       rm tests/test_db.py
+       default
+}

diff --git a/dev-python/webpy/webpy-0.50.ebuild 
b/dev-python/webpy/webpy-0.50.ebuild
new file mode 100644
index 0000000..48b9c01
--- /dev/null
+++ b/dev-python/webpy/webpy-0.50.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="A web framework for python that is as simple as it is powerful"
+HOMEPAGE="
+       https://www.webpy.org
+       https://github.com/webpy/webpy
+"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       dev-python/cheroot[${PYTHON_USEDEP}]
+"
+DEPEND="
+       ${RDEPEND}
+       test? (
+               >=dev-python/pytest-4.6.2[${PYTHON_USEDEP}]
+       )
+"
+#              dev-python/dbutils[${PYTHON_USEDEP}]
+#              >=dev-python/mysql-connector-python-8.0.19[${PYTHON_USEDEP}]
+#              dev-python/pymysql[${PYTHON_USEDEP}]
+#              >=dev-python/psycopg-2.8.4[${PYTHON_USEDEP}]
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs
+
+src_prepare() {
+       #tests require postgresql and mysql running
+       rm tests/test_db.py
+       default
+}

Reply via email to