diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-05-29 01:37:18 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-05-29 01:37:18 +0000 |
| commit | e2fa0ed27b13eceadd83b8b0ccf35599a4a70500 (patch) | |
| tree | d835b3961565ccbff38ea5affb3e835271b9bd58 /dev-python/matrix-client | |
| parent | 7fe3453293d4827f82175e99b94222fd0175c0d9 (diff) | |
| download | baldeagleos-repo-e2fa0ed27b13eceadd83b8b0ccf35599a4a70500.tar.gz baldeagleos-repo-e2fa0ed27b13eceadd83b8b0ccf35599a4a70500.tar.xz baldeagleos-repo-e2fa0ed27b13eceadd83b8b0ccf35599a4a70500.zip | |
Adding metadata
Diffstat (limited to 'dev-python/matrix-client')
| -rw-r--r-- | dev-python/matrix-client/matrix-client-0.3.2-r1.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/matrix-client/matrix-client-0.3.2-r1.ebuild b/dev-python/matrix-client/matrix-client-0.3.2-r1.ebuild new file mode 100644 index 000000000000..1c78e120e00e --- /dev/null +++ b/dev-python/matrix-client/matrix-client-0.3.2-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 2021 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +MY_PN=${PN/-/_} +DESCRIPTION="Client-Server SDK for Matrix" +HOMEPAGE="https://github.com/matrix-org/matrix-python-sdk https://pypi.org/project/matrix-client/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=">=dev-python/requests-2.22[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}]" +DEPEND="${REDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_test() { + nosetests --verbose || die + py.test -v -v || die +} |
