Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: New packages: ta-lib-0.4.0, python-ta-lib-0.4.17 #17161

Closed
wants to merge 9 commits into from

Conversation

jpmenil
Copy link
Contributor

@jpmenil jpmenil commented Dec 6, 2019

No description provided.

@Chocimier
Copy link
Member

Why do we need library? Any application will use it?

@jpmenil
Copy link
Contributor Author

jpmenil commented Dec 6, 2019

@Chocimier i'm preparing a PR for python-ta-lib.

Copy link
Member

@Chocimier Chocimier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

preparing a PR for python-ta-lib.

Ok, best if they are in one PR, one commit per template.

Please split ta-lib-devel.

srcpkgs/ta-lib/patches/ta-lib-0.4.0-asneeded.patch Outdated Show resolved Hide resolved
srcpkgs/ta-lib/template Outdated Show resolved Hide resolved
srcpkgs/ta-lib/template Outdated Show resolved Hide resolved
srcpkgs/ta-lib/template Outdated Show resolved Hide resolved
srcpkgs/ta-lib/template Outdated Show resolved Hide resolved
srcpkgs/ta-lib/template Outdated Show resolved Hide resolved
srcpkgs/ta-lib/files/LICENSE Outdated Show resolved Hide resolved
@jpmenil jpmenil changed the title New package: ta-lib-0.4.0 WIP: New package: ta-lib-0.4.0 Dec 6, 2019
@jpmenil
Copy link
Contributor Author

jpmenil commented Dec 6, 2019

preparing a PR for python-ta-lib.

Ok, best if they are in one PR, one commit per template.

Please split ta-lib-devel.

just to be sure to understand, you want me to add both python-ta-lib and ta-lib-devel in the same PR, right ?

@jpmenil jpmenil changed the title WIP: New package: ta-lib-0.4.0 WIP: New packages: ta-lib-0.4.0, python-ta-lib-0.4.17 Dec 6, 2019
@jpmenil
Copy link
Contributor Author

jpmenil commented Dec 7, 2019

Build failed is expected since python-ta-lib cannot be build without ta-lib installed.
However, i'm stuck with the arm/aarch builds, even if it compile fine on my local machines.

Copy link
Member

@Chocimier Chocimier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just to be sure to understand, you want me to add both python-ta-lib and ta-lib-devel in the same PR, right ?

Yes, in general dependencies should go in one PR with desired package.

We do not accept new python2 packages, please add only python3-ta-lib.
Adding ta-lib-devel to makedepends make python module build.
Module contains compiled part, so isn't nocross.
Please add checkdepends="python3-nose python3-pandas".

srcpkgs/ta-lib/template Outdated Show resolved Hide resolved
srcpkgs/ta-lib/template Outdated Show resolved Hide resolved
srcpkgs/ta-lib/template Outdated Show resolved Hide resolved
@Chocimier
Copy link
Member

  • compiled part, so isn't noarch

@Chocimier
Copy link
Member

Also please set nocross="python3-numpy is nocross" on module.

@jpmenil
Copy link
Contributor Author

jpmenil commented Dec 12, 2019

sorry for the disagreement :(

pkgname=python3-ta-lib
version=0.4.17
revision=1
archs=noarch
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Module contains compiled part, so isn't noarch.

archs=noarch
wrksrc="TA-Lib-${version}"
build_style=python3-module
pycompile_module="talib"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no need to set this from some time ago.

wrksrc="TA-Lib-${version}"
build_style=python3-module
pycompile_module="talib"
hostmakedepends="python-setuptools python3-setuptools"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

python-setuptools was only needed for python2 variant

@@ -0,0 +1,19 @@
# Template file for 'ta-lib-devel'
pkgname=ta-lib-devel
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be split to ta-lib and ta-lib-devel, like eg. libarchive. Then -devel goes to makedepends and lib to depends.

@jpmenil
Copy link
Contributor Author

jpmenil commented Feb 28, 2020

closing this one, since theses libs are a bit outdated.
I can rework it if someone really need it.

@jpmenil jpmenil closed this Feb 28, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants