Package Details: python-technical 1:1.3.0-3

Git Clone URL: (read-only, click to copy)
Package Base: python-technical
Description: Various indicators developed or collected for the freqtrade
Upstream URL:
Licenses: GPL3
Submitter: Thempra
Maintainer: lmartinez-mirror
Last Packager: lmartinez-mirror
Votes: 1
Popularity: 0.000612
First Submitted: 2021-05-12 19:03 (UTC)
Last Updated: 2023-01-01 23:46 (UTC)

Latest Comments

Spixmaster commented on 2022-12-27 18:39 (UTC) (edited on 2022-12-27 20:01 (UTC) by Spixmaster)

I investigated the problem and understand what you did. The tests are installed into /usr/lib/python3.10/site-packages/tests/ which should not be. Your patch is wrong as it only installs the python packages which are in the root directory but not those in directories. I fixed the PKGBUILD.

# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>

pkgdesc='Various indicators developed or collected for the freqtrade'
depends=('python-arrow' 'python-pandas' 'python-ta-lib')
makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel')
checkdepends=('python-pytest' 'python-mock')

    cd "technical-$pkgver"
    python -m build --wheel --no-isolation

    cd "technical-$pkgver"
    pytest -x --disable-warnings

    cd "technical-$pkgver"
    python -m installer --destdir="$pkgdir/" dist/*.whl
    install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname/"

    # TODO
    declare _site_packages
    _site_packages="$(python -c "import site; print(site.getsitepackages()[0])")"
    readonly _site_packages
    rm -r "${pkgdir}"/"${_site_packages}"/tests/

Spixmaster commented on 2022-12-25 16:44 (UTC)

I can ask but from my testing the patch is not needed. I installed the PKGBUILD without problem without the patch.

lmartinez-mirror commented on 2022-12-24 02:12 (UTC)

If that's the case, please (kindly) ask upstream if they'd be willing to cut a release. Otherwise I can upload a -git version of this package.

Spixmaster commented on 2022-12-22 10:21 (UTC)

This package is incomplete! As King_DuckZ mentioned import technical.indicators does not work. The reason is that the file is missing. Check with pacman -Ql python-technical and see yourself.

The solution is to remove the patch in the PKGBUILD. This can be done by commenting out the function prepare().

King_DuckZ commented on 2022-08-21 12:48 (UTC)

I think they stopped tagging releases and 1.3.0 is horribly outdated at this point. For example import technical.indicators doesn't work as indicators is not available in 1.3 but it's clearly there in the upstream repo.

AchmadFathoni commented on 2022-02-08 15:52 (UTC)

I think there is typo, the pkg's version should be 1.3.0