jaeger changed the topic of #crux to: CRUX 3.7 | Homepage: https://crux.nu/ | Ports: https://crux.nu/portdb/ https://crux.ninja/portdb/ | Logs: https://libera.irclog.whitequark.org/crux/
groovy3shoes has joined #crux
groovy2shoes has quit [Read error: Connection reset by peer]
tilman has quit [Ping timeout: 240 seconds]
tilman has joined #crux
zorz has left #crux [WeeChat 4.1.2]
groovy3shoes has quit [Ping timeout: 256 seconds]
groovy2shoes has joined #crux
ppetrov^ has joined #crux
SiFuh has quit [Remote host closed the connection]
SiFuh has joined #crux
<ppetrov^> hey guys
<ppetrov^> i think this might interest you:
<ppetrov^> this aimds to do what cpan2crux does, but for R modules
<ppetrov^> I will appreciate feedback and testing. I will have more time over the weekend
<ppetrov^> here's an example repo, generated by the tool: https://github.com/slackalaxy/crux-ports/tree/main/r4-modules
<ppetrov^> for the moment it works with CRAN, but i'd like to extend it so it looks at Bioconductor, too
<ppetrov^> there are a few things more that i'd like to hear your opinion of, for example naming of the produced ports. Debian and Arch have the "r-module" convention. I chose "r4-module", not because I wanted to be different, but it seemed to be on par with how CRUX does perl modules (p5-)
<ppetrov^> the tool is written in R witha simple shell wrapper, providing command line options. In the past farkuhar has helped me with shell scripts, so if there's a way to make the bash script more elegant, i am open to suggestions
<ppetrov^> ah, and the reason i did this is: i use R extensively in my work and wanted to have modules installed through the package system, so revdep reports if something went wrong after an update
<ppetrov^> k, enough spam
<remiliascarlet> ppetrov^: How much easier is it over simply copying the Pkgfile from another port, and modifying that one?
<ppetrov^> what do you mean?
<ppetrov^> about R modules?
<ppetrov^> sure you can copy over and modify
<ppetrov^> how do you deal with dependencies?
<remiliascarlet> In most cases you can check the Makefile or CMake files for dependencies. If something is written in Go, Rust, Zig, or some other modern language, it's typically only 1 dependency: the compiler.
<ppetrov^> remiliascarlet, are you familiar with R?
<remiliascarlet> No.
<ppetrov^> well, there it is
<ppetrov^> :)
<remiliascarlet> I suck at basic math, although I have an easier time with the more advanced stuff.
<ppetrov^> R is quite versatile and not used exclusively for statistics
<ppetrov^> i use it for bioinformatics
<remiliascarlet> Which happens if you're a high school drop out, and only learned the maths needed for game development on your own.
<ppetrov^> as a test, i did modules for an R package called Seurat. Resolving the dependencies, cran2crux ended up with over 140 ports
<remiliascarlet> "Resolving the dependencies, cran2crux ended up with over 140 ports" That sounds like a fucking dependency hell!
<remiliascarlet> Almost as if R users are the same types of developers as Java, Javascript, and Rust developers, in that they use dependencies for every single thing they want to accomplish.
<ppetrov^> r has a gazillion small packages or modules
<ppetrov^> developed by other people
<ppetrov^> it has its own system to build and resolve deps, however they are stored in ~/.R and are not part of the distro's packaging system
<ppetrov^> but, yes, it becomes crazy and it's not humanly possible to do it manually. That's why I made the too
<ppetrov^> *tool
<remiliascarlet> The only languages that are part of the distro's package manager are C, C++, Perl, and since recently Python.
<remiliascarlet> Because Python breaks all the time.
<remiliascarlet> Every time Windows and Mac users complain that C and C++ suck because "no package manager", I cringe. Both C and C++ have a package manager, and it's part of the OS. If your OS doesn't have a package manager and/or ports tree, it just sucks!
<ppetrov^> remiliascarlet, i am not sure i follow, but whatever
braewoods_ has quit [Remote host closed the connection]
braewoods_ has joined #crux
ppetrov^ has quit [Quit: Leaving]
braewoods_ has quit [Remote host closed the connection]
braewoods_ has joined #crux
ppetrov^ has joined #crux
braewoods_ has quit [Remote host closed the connection]
braewoods_ has joined #crux
braewoods_ has quit [Remote host closed the connection]
braewoods_ has joined #crux
<cruxbot> [core.git/3.7]: cmake: update to 3.28.1
<cruxbot> [opt.git/3.7]: btrfs-progs: update to 6.6.3
braewoods has joined #crux
braewoods_ has quit [Ping timeout: 245 seconds]
tarxvfz has joined #crux
<cruxbot> [contrib.git/3.7]: bluez: 5.70 -> 5.71
<cruxbot> [contrib.git/3.7]: extra-cmake-modules: 5.112.0 -> 5.113.0
<cruxbot> [contrib.git/3.7]: kwindowsystem: 5.112.0 -> 5.113.0
<cruxbot> [contrib.git/3.7]: p5-business-isbn-data: 20231130.001 -> 20231215.001
dlcusa has quit [Remote host closed the connection]
dlcusa_ has joined #crux
ppetrov^ has quit [Quit: Leaving]
dlcusa_ is now known as dlcusa
zorz has joined #crux
ppetrov^ has joined #crux
tarxvfz has quit [Ping timeout: 240 seconds]
zorz has quit [Quit: WeeChat 4.1.2]
tarxvfz has joined #crux
groovy2shoes has quit [Ping timeout: 256 seconds]
groovy2shoes has joined #crux
tarxvfz has quit [Ping timeout: 240 seconds]
zorz has joined #crux
braewoods has quit [Read error: Connection reset by peer]
braewoods has joined #crux
tarxvfz has joined #crux
braewoods_ has joined #crux
braewoods has quit [Read error: Connection reset by peer]
braewoods_ has quit [Remote host closed the connection]
braewoods_ has joined #crux
braewoods_ has quit [Remote host closed the connection]
braewoods_ has joined #crux
tarxvfz has quit [Ping timeout: 240 seconds]
maledictium has quit [Quit: WeeChat 3.8]
tarxvfz has joined #crux
<cruxbot> [contrib.git/3.7]: fcft: 3.1.6 -> 3.1.7
<cruxbot> [contrib.git/3.7]: luajit: 2.1.1700008891 -> 2.1.1702233742
<cruxbot> [contrib.git/3.7]: python3-frozenlist: 1.4.0 -> 1.4.1; new dependency: python3-expandvars
<cruxbot> [opt.git/3.7]: webkitgtk: 2.42.3 -> 2.42.4
<cruxbot> [compat-32.git/3.7]: jq-32: 1.7 -> 1.7.1
zorz has quit [Quit: WeeChat 4.1.2]
groovy2shoes has quit [Ping timeout: 256 seconds]
groovy2shoes has joined #crux
tarxvfz has quit [Remote host closed the connection]
frinnst has quit [Remote host closed the connection]
frinnst has joined #crux
zorz has joined #crux
<cruxbot> [opt.git/3.7]: librsvg: 2.57.0 -> 2.57.1
ppetrov^ has quit [Quit: Leaving]