msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.29k stars 1.22k forks source link

Add python-mycli #18946

Open Kreijstal opened 1 year ago

Kreijstal commented 1 year ago

Package name

python-mycli

Brief description of package

A command line client for MySQL that can do auto-completion and syntax highlighting.

URL for package's homepage

https://pypi.org/project/mycli/

Provide a basic test case to validate the package's functionality.

mycli mysql://anonymous@ensembldb.ensembl.org/sus_scrofa_core_56_9 --csv -e ' SELECT * FROM meta LIMIT 5 '

MINGW environments where you need the package

Are you willing to submit a PR?

sure, I can give it a shot

Kreijstal commented 1 year ago

Okay so apparently you need to package all the dependencies too? Not sure what the policy is here

stahta01 commented 11 months ago

Okay so apparently you need to package all the dependencies too? Not sure what the policy is here

I got the dependencies to build; but, the mycli package install fails. If you wish you can take over the work I did and clean up the packages. I have no idea how to fix the mycli install error. link to branch with work

Tim S.

Kreijstal commented 11 months ago

Okay so apparently you need to package all the dependencies too? Not sure what the policy is here

I got the dependencies to build; but, the mycli package install fails. If you wish you can take over the work I did and clean up the packages. I have no idea how to fix the mycli install error. link to branch with work

Tim S.

ohh you simply added all packages as subpackages? great! Hmm, interesting, I see you're trying to compile configobj as source, I tried pip install configobj, I didn't build the wheel from source, couldn't we use that?

and btw, if you see my my previous pull request I have a patch file for mycli


Edit: nvm configobj builds and compiles normally in my mingw64 that is not the problem, but I noticed you named the package python-python-configobj