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

[Package]: opam #21981

Open
8 tasks done
b9Joker108 opened this issue Oct 26, 2024 · 7 comments
Open
8 tasks done

[Package]: opam #21981

b9Joker108 opened this issue Oct 26, 2024 · 7 comments
Labels
package request A new package was requested

Comments

@b9Joker108
Copy link

Why is it worth to add this package?

opam 2.0.3, dated Feb 1, 2019, is currently in the Termux repository. This is a request to update it, as the current stable release version is: opam 2.2.1, released on Aug 22, 2024.

Note: I am happy to assist with updating the package if someone will instruct me how to do it. I would like to assist with maintaining and updating Termux packages, but am not sure how to go about it.

Home page URL

https://opam.ocaml.org/

Source code URL

https://github.com/ocaml/opam

Packaging policy acknowledgement

  • The project is actively developed.

  • The project has existing packages and is "well known".

  • Licensed under an open source license.

  • Not available through a language package manager: pip, npm, cpan, cargo, etc.

  • Not taking up too much disk space (< 100MiB per architecture, exceptions can be made)

  • Not duplicating the functionality of existing packages.

  • Not serving hacking, malware, phishing, spamming, spying, ddos functionality.

  • I certify that I have read Termux Packaging Policy and understand that my request will be denied if it is found lacking.

Additional information

No, I have not yet endeavoured to compile it on my advice.

@b9Joker108 b9Joker108 added the package request A new package was requested label Oct 26, 2024
@Biswa96
Copy link
Member

Biswa96 commented Oct 26, 2024

opam 2.0.3, dated Feb 1, 2019, is currently in the Termux repository.

There is no opam package in termux repository.

@b9Joker108
Copy link
Author

b9Joker108 commented Oct 26, 2024

I installed it from the Termux package manager today! This is the version: opam 2.0.3. BTW: https://github.com/ocaml/opam/releases/download/2.2.1/opam-2.2.1-arm64-linux

@Biswa96
Copy link
Member

Biswa96 commented Oct 26, 2024

That binary is for AArch64 Linux system which is not 100% same with AArch64 Android.

@b9Joker108
Copy link
Author

Also, when installing ocaml from the Termux repository with: pkg i ocaml, opam 2.0.3 is also installed as well.

@Biswa96
Copy link
Member

Biswa96 commented Oct 26, 2024

ocaml package was removed in termux packages. It is now in disabled-packages directory https://github.com/termux/termux-packages/blob/master/disabled-packages/ocaml/build.sh

@b9Joker108
Copy link
Author

b9Joker108 commented Oct 26, 2024

I noted that I couldn't get the secondary compiler in opam 2.2.1 to work when installing packages with opam in Termux, so I have deleted it. BTW, opam is still in the Termux repository:

> pkg i opam

Checking availability of current mirror:

[*] http://mirror.mephi.ru/termux/termux-main: ok

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

The following NEW packages will be installed: opam

0 upgraded, 1 newly installed, O to remove and O not upgraded.

Need to get 0 B/2999 kB of archives.

After this operation, 16.1 MB of additional disk space will be used.

Selecting previously unselected package opam.

(Reading database ... 277952 files and directories currently installed.)

Preparing to unpack .../opam_2.0.3-1_aarch64.deb ...

Unpacking opam (2.0.3-1)

Setting up opam (2.0.3-1) ...

@sylirre
Copy link
Member

sylirre commented Oct 26, 2024

It is in your cache as no download log shown but 0B of download size (Need to get 0 B/2999 kB of archives.). We don't have opam in our repositories. Some outdated mirrors may still provide it.

Original Termux repositories are only those ending with termux.dev.

Screenshot

Same with ocaml package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package request A new package was requested
Projects
None yet
Development

No branches or pull requests

3 participants