Changeset View
Standalone View
math/R-cran-alabama/Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# Created by: Devin Teske <dteske@FreeBSD.org> | |||||
# $FreeBSD$ | |||||
PORTNAME= alabama | |||||
PORTVERSION= 2015.3.1 | |||||
DISTVERSION= 2015.3-1 | |||||
mat: Was this even tested ?
You can only set **ONE** out of `PORTVERSION` or `DISTVERSION`. | |||||
Done Inline ActionsOf COURSE it was tested. You cannot have PORTVERSION with a dash (-) or underscore (_). I did not know DISTVERSION was even a thing, I just created a variable to use in the DISTNAME setting because we cannot use PORTVERSION in DISTNAME because ports doesn't allow PORTVERSION to contain dash or underscore. dteske: Of COURSE it was tested.
You cannot have PORTVERSION with a dash (-) or underscore (_).
I did… | |||||
Not Done Inline ActionsWell, if you test this, as is, it will fail in a very early stage with this error: Defining both PORTVERSION and DISTVERSION is wrong, only set one, if necessary, set DISTNAME mat: Well, if you test this, as is, it will fail in a very early stage with this error:
```… | |||||
Done Inline ActionsI can find no such error... dteske@scribe12 R-cran-alabama $ make ===> License GPLv2+ accepted by the user ===> R-cran-alabama-2015.3.1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by R-cran-alabama-2015.3.1 for building ===> Extracting for R-cran-alabama-2015.3.1 => SHA256 Checksum OK for alabama_2015.3-1.tar.gz. ===> Patching for R-cran-alabama-2015.3.1 ===> R-cran-alabama-2015.3.1 depends on package: R-cran-numDeriv>0 - found ===> R-cran-alabama-2015.3.1 depends on file: /usr/local/bin/R - found ===> Configuring for R-cran-alabama-2015.3.1 ===> Staging for R-cran-alabama-2015.3.1 ===> R-cran-alabama-2015.3.1 depends on package: R-cran-numDeriv>0 - found ===> R-cran-alabama-2015.3.1 depends on file: /usr/local/bin/R - found ===> Generating temporary packing list * installing *source* package 'alabama' ... ** package 'alabama' successfully unpacked and MD5 sums checked ** using staged installation ** R ** demo ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (alabama) ====> Compressing man pages (compress-man) dteske@scribe12 R-cran-alabama $ make install ===> Installing for R-cran-alabama-2015.3.1 ===> Checking if R-cran-alabama is already installed ===> Switching to root credentials for 'install' target Password: ===> Registering installation for R-cran-alabama-2015.3.1 Installing R-cran-alabama-2015.3.1... ===> Returning to user credentials dteske@scribe12 R-cran-alabama $ make deinstall ===> Switching to root credentials for 'deinstall' target Password: ===> Deinstalling for R-cran-alabama ===> Deinstalling R-cran-alabama-2015.3.1 Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: R-cran-alabama-2015.3.1 Number of packages to be removed: 1 [1/1] Deinstalling R-cran-alabama-2015.3.1... [1/1] Deleting files for R-cran-alabama-2015.3.1: 100% ===> Returning to user credentials dteske@scribe12 R-cran-alabama $ make package ===> Building package for R-cran-alabama-2015.3.1 dteske: I can find no such error...
```
dteske@scribe12 R-cran-alabama $ make
===> License GPLv2+… | |||||
Not Done Inline ActionsYou need to have DEVELOPER=yes in your /etc/make.conf. Even better, your tests should always be in poudriere, not form the shell. What it does from the shell is secondary to what it does in poudriere testport. adamw: You need to have `DEVELOPER=yes` in your `/etc/make.conf`.
Even better, your tests should… | |||||
Not Done Inline Actions(If you want a hand getting poudriere up and running, let me know.) adamw: (If you want a hand getting poudriere up and running, let me know.) | |||||
Done Inline ActionsI do not use poudriere dteske: I do not use poudriere | |||||
Not Done Inline ActionsThese days, it is essential that ports be tested with poudriere testport. It is the single most powerful QA tool that we have, and because it's what the builders use, it's the only way of verifying that the packages will build. I highly recommend deploying a simple poudriere instance to facilitate ports development. adamw: These days, it is essential that ports be tested with `poudriere testport`. It is the single… | |||||
CATEGORIES= math | |||||
DISTNAME= ${PORTNAME}_${DISTVERSION} | |||||
MAINTAINER= dteske@FreeBSD.org | |||||
COMMENT= Constrained Nonlinear Optimization | |||||
LICENSE= GPLv2+ | |||||
CRAN_DEPENDS= R-cran-numDeriv>0:math/R-cran-numDeriv | |||||
BUILD_DEPENDS= ${CRAN_DEPENDS} | |||||
RUN_DEPENDS= ${CRAN_DEPENDS} | |||||
USES= cran:auto-plist | |||||
.include <bsd.port.mk> |
Was this even tested ?
You can only set ONE out of PORTVERSION or DISTVERSION.