diff options
author | Kr1ss | 2020-09-17 16:34:27 +0200 |
---|---|---|
committer | Kr1ss | 2020-09-17 16:34:27 +0200 |
commit | 951140d1db10bc4bfbb6bc220f934ecd4c83911f (patch) | |
tree | 9b818d652900f78876f1bf4e431788e0e778ce12 /PKGBUILD | |
parent | cde3085e8c70ffaa87379864bee825f4ee4339d9 (diff) | |
download | aur-951140d1db10bc4bfbb6bc220f934ecd4c83911f.tar.gz |
fix dependencies
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -25,7 +25,10 @@ provides=('pycharm-community-edition') conflicts=('pycharm-community-edition') makedepends=('python-setuptools') # 'python2-setuptools' -depends=('libdbusmenu-glib') +depends=('python' 'glib2' 'libdbusmenu-glib') +optdepends=('python2: Support for Python 2 language' + 'ipython: Alternative Python shell' + 'ipython2: Alternative Python 2 shell') options=('!strip') @@ -46,7 +49,8 @@ build() { # using absolute paths to the python executables so that users with an activated virtual env # (like e.g. anaconda) can build without issues /usr/bin/python3 ./setup_cython.py build_ext --inplace - if pacman -Qq python2-setuptools &>/dev/null; then + if [ -z "$(pacman -T python2-setuptools)" ]; then + # only compile the py2-debugger if `python2-setuptools’ is already installed /usr/bin/python2 ./setup_cython.py build_ext --inplace fi } |