diff options
author | 2013-08-23 14:37:58 -0400 | |
---|---|---|
committer | 2013-08-23 14:37:58 -0400 | |
commit | c51788cadc9e53268d01f10d6b844b49c0f59a48 (patch) | |
tree | bd24b30c879e5a76b0c5f1a66ffeea9346599822 | |
parent | Tweaks to npm.eclass (diff) | |
download | neurogeek-c51788cadc9e53268d01f10d6b844b49c0f59a48.tar.gz neurogeek-c51788cadc9e53268d01f10d6b844b49c0f59a48.tar.bz2 neurogeek-c51788cadc9e53268d01f10d6b844b49c0f59a48.zip |
Mods to use the new eclass
116 files changed, 418 insertions, 1447 deletions
diff --git a/dev-nodejs/abbrev/abbrev-1.0.4.ebuild b/dev-nodejs/abbrev/abbrev-1.0.4.ebuild index 8cc8bf7..cd07260 100644 --- a/dev-nodejs/abbrev/abbrev-1.0.4.ebuild +++ b/dev-nodejs/abbrev/abbrev-1.0.4.ebuild @@ -4,7 +4,7 @@ EAPI=4 -inherit multilib npm +inherit npm DESCRIPTION="Like ruby's abbrev module, but in js." diff --git a/dev-nodejs/archy/Manifest b/dev-nodejs/archy/Manifest index 2ebc6a3..39be54d 100644 --- a/dev-nodejs/archy/Manifest +++ b/dev-nodejs/archy/Manifest @@ -1,2 +1,2 @@ DIST archy-0.0.2.tgz 2236 SHA256 355bafab4acbb86e4e94c00c55900215abe41ae72ab454be889c766e5889a6e5 SHA512 f2632c7ad8d7bf8a423d3acc6cf3ced9cc72f6fcc99f68f06ddfae83e99ff1f114646d84efc568e5eac9323ae71ae2d32aa38bb52e6e9451c949f835c9a0a3c4 WHIRLPOOL 95b923e8bbbab60bd8eba584cbf89f0cebf4522e22cb7bce26db2db312cec775c0084c1294f2b08ee9696c98de53ac4739e3ebe6df5018abc8052c24bbbb77c7 -EBUILD archy-0.0.2.ebuild 816 SHA256 c189ed699614c94e9d9b1f4c0790be8835b3121e2e92902bcb52b978916474e7 SHA512 3484fe5d815f6bd7b5f95d535fe27ad3d6f365a388dfea4f2fced8718ec839ea5e3dcb9957f6525a60830143e3599388c1a761f57b49b364ec18595047884ab9 WHIRLPOOL f66148fd22f57c7b68fbf2e9073964034ea7fd34135752b962784c131aba86a0becbd02e8820e3eb4a1690078c64534721cb89bab6f088e51bc68f862f01b252 +EBUILD archy-0.0.2.ebuild 417 SHA256 9a0ed8eb09c7a2de7b752e6a71a97868ab08a6cee2deb33d01207f8afda6d532 SHA512 3cd1b7f79af35493c3403289f59581b451789c158a7c787067563faedd0f60cbe82d48f3a8af270e03aca603f6dcfccd42eb82ddf1fe829a75e306ca50988989 WHIRLPOOL e89d81a78fa4e32a34d667ae57dc84d494f36e3b9a45d160ef96271d129fdb99bb28dc009766dd468076a0f3d7320cb6434fd887e9b05c7da4bb28e3bb618aa1 diff --git a/dev-nodejs/archy/archy-0.0.2.ebuild b/dev-nodejs/archy/archy-0.0.2.ebuild index 61b8487..a3503ea 100644 --- a/dev-nodejs/archy/archy-0.0.2.ebuild +++ b/dev-nodejs/archy/archy-0.0.2.ebuild @@ -3,38 +3,21 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Render nested hierarchies 'npm ls' style with unicode pipes" -HOMEPAGE="https://npmjs.org/package/archy" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="example" DEPEND=">=net-libs/nodejs-0.8.10" RDEPEND="${DEPEND}" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{index.js,package.json} ${node_modules} - - dodoc README* + npm_src_install if use example; then dodoc -r examples diff --git a/dev-nodejs/argparse/argparse-0.1.13.ebuild b/dev-nodejs/argparse/argparse-0.1.13.ebuild index dba3aad..45071c8 100644 --- a/dev-nodejs/argparse/argparse-0.1.13.ebuild +++ b/dev-nodejs/argparse/argparse-0.1.13.ebuild @@ -3,18 +3,15 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Very powerful CLI arguments parser. Native port of argparse - python's options parsing library" -HOMEPAGE="https://npmjs.org/package/argparse" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="example" DEPEND=">=net-libs/nodejs-0.8.10" @@ -22,22 +19,8 @@ RDEPEND=">=dev-nodejs/underscore-1.4.4 >=dev-nodejs/underscore_string-2.3.1 ${DEPEND}" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{lib,package.json} ${node_modules} - - dodoc README* LICENSE HISTORY.md index.js + npm-src_install if use example; then dodoc -r examples diff --git a/dev-nodejs/buildjs/Manifest b/dev-nodejs/buildjs/Manifest index b4fcb4e..7a155b7 100644 --- a/dev-nodejs/buildjs/Manifest +++ b/dev-nodejs/buildjs/Manifest @@ -1,2 +1,2 @@ DIST buildjs-1.0.3.tgz 2732 SHA256 c38f6ecb50c92d5780a635033693c950fe7e90286bc923c5ff5389a591645ce4 SHA512 d8b6855a837c72c143f9238d065694f3cbb9c37fb804156f624f042cce7d9b670f834450b03d883c9f8072b30ff812a3218bd0a73f4f53610b36b9f152fc2ebd WHIRLPOOL a4480a18716c8672499f22925512b7a4be822d7f985051d3269cd7d48bfadd59a836c1947ea9be4ab18ca9dc70b72d784ea050bd0fe299ee536f7ab988d3ab99 -EBUILD buildjs-1.0.3.ebuild 752 SHA256 e16e6bf73f728ae94d53915b956d47d0f6976ecf9972f475426a3a2d7d7b0907 SHA512 c7a184445acc52d8d0cdb51ac84343f53bf2174f0ae0640ecd395dc8843517d977e9475bfe6a4ffbde8a3f601e34e690439af773d11d2200e998fd527a81d445 WHIRLPOOL c034f59cc05a38a00902baeb1ac06feda35d004a51cef22ab6c86214649cdf0834856e3ebe9d53ec10f9d3ea47d66ba9823faf63e4aaa7600816672d6afeb409 +EBUILD buildjs-1.0.3.ebuild 349 SHA256 6c62f4a15526fe9513b8de04247307644bed3419c64cecfb72fd26d2a287b6c3 SHA512 bf7d16c511d5504ed0bac13bde0a4b8c68dd90dd5ad62bafb823ec3cb4c456bdeab3743d04d0c016ff8b1cae752f4b9310c89b407cdffe12cc2531500ddc2b17 WHIRLPOOL fd8a305aa4264431adf1100b4725089023abeb6cee2e77fe906fe1fe2cac1e57efa91a9ea56a5ddfcb02de8c1fdb25934b486fd75b5b47c73f39c3a763216580 diff --git a/dev-nodejs/buildjs/buildjs-1.0.3.ebuild b/dev-nodejs/buildjs/buildjs-1.0.3.ebuild index df01066..ff35a59 100644 --- a/dev-nodejs/buildjs/buildjs-1.0.3.ebuild +++ b/dev-nodejs/buildjs/buildjs-1.0.3.ebuild @@ -5,34 +5,16 @@ EAPI=4 NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="JS/CSS files compress/optimizer." -HOMEPAGE="https://npmjs.org/package/buildjs" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" DEPEND=">=net-libs/nodejs-0.8.10" RDEPEND="${DEPEND}" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{build.json,index.js,lib,package.json} ${node_modules} - - dodoc README* -} +NPM_EXTRA_FILES="build.json" diff --git a/dev-nodejs/buildjs_core/Manifest b/dev-nodejs/buildjs_core/Manifest index 808d327..b17e53f 100644 --- a/dev-nodejs/buildjs_core/Manifest +++ b/dev-nodejs/buildjs_core/Manifest @@ -1,2 +1,2 @@ DIST buildjs.core-0.1.0.tgz 2153 SHA256 051d8c4b58f52e3a1aa18ec1b52729833c5a0581d0e64ff3bd7bcf3a0282d1ed SHA512 4cae1ba3b5ba0c69cd1359f7e007b0f44c4fd21c5d7ba3552a19fbd4277b0513b1a92c88cdf0c8f724a4fe7dbcbebd225d8304d05827471e7a327f362ca135a2 WHIRLPOOL 6da8f079d92d41d5734ca556b14901d2263114b242f0ceae0ae0b2a498ae81f2fcd7be416ce7f012651221fcf08680115d80ac6cc6e66b4625631a786d408422 -EBUILD buildjs_core-0.1.0.ebuild 834 SHA256 6a8a44aaf12f9ba0a11af9824e93fabf9d12d1cf5de14bdab85d7f54b5d51c8f SHA512 5c591331f59358204c79e8735faed309611aff6b2801767f7f3208e805b93d99957e95d9792f41d79761432e2381dff98f19be6e539bcb43b8325d056a41855f WHIRLPOOL 02210d473c36bd78b250fb74b8fc8c180218848e29002cec1176415cdbe73b713b4ef8ef66227f51b94e375cd919e7d49438594044609ffd4f34c595d078d9d2 +EBUILD buildjs_core-0.1.0.ebuild 544 SHA256 51d05d971a8fa82bc8c019137624314d9d5e280498d410dbc8f8306f05709c02 SHA512 58819cb98e85354fbb0023901a78e19674f1f1797f33e476b0aacfbf333f312b4a2acde07c59e6ab72f4571280959ab0af9713ab28e2402dfb5129275b86d3ec WHIRLPOOL a3f472d14c7f38f83736ce11a052a21019ab162019cad4afa20882ee8f52cd890057b9d117dbe189040773c54cb7e77718caacbb81db32657c55d0611a77aa05 diff --git a/dev-nodejs/buildjs_core/buildjs_core-0.1.0.ebuild b/dev-nodejs/buildjs_core/buildjs_core-0.1.0.ebuild index 406be50..73a8519 100644 --- a/dev-nodejs/buildjs_core/buildjs_core-0.1.0.ebuild +++ b/dev-nodejs/buildjs_core/buildjs_core-0.1.0.ebuild @@ -7,34 +7,21 @@ MY_PN="${PN/_/.}" MY_P="${MY_PN}-${PV}" NODEJS_MODULE=${MY_PN} -inherit multilib +inherit npm DESCRIPTION="JS/CSS files compress/optimizer." -HOMEPAGE="https://npmjs.org/package/buildjs" +HOMEPAGE="https://npmjs.org/package/buildjs.core" SRC_URI="http://registry.npmjs.org/${MY_PN}/-/${MY_P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" DEPEND=">=net-libs/nodejs-0.8.10" RDEPEND="${DEPEND}" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{aliases.js,formatters.js,index.js,platform.js,regexes.js,package.json} ${node_modules} - - dodoc README* -} +NPM_EXTRA_FILES="aliases.js + formatters.js + platform.js + regexes.js" diff --git a/dev-nodejs/coffee-script/Manifest b/dev-nodejs/coffee-script/Manifest index 2832cec..24692b0 100644 --- a/dev-nodejs/coffee-script/Manifest +++ b/dev-nodejs/coffee-script/Manifest @@ -1,2 +1,3 @@ DIST coffee-script-1.6.2.tgz 75715 SHA256 92785ad77e5d689fc7bfc62f3b519e65b77509457dda7a332ee1efd6cf9f08d6 SHA512 b19f3d5258b20c7359e6bca8ca6e31c09759a4393b6f6bf691f24e02c1f8c8cc2d882a5f44dad63bce86ecbae22eab8b8a48357410958bf44a8f3b6e2f777557 WHIRLPOOL 5edbddcf71af3a3fe925ec40e1c4af7bff8209aa0dc865018ba64af920eca69ebb252bfcbcebf89accd9fb6405a6bd4278a580c2d318962a263d3cd3fa2a63fa -EBUILD coffee-script-1.6.2.ebuild 790 SHA256 17b7449ae09e32277250a85d6cb07b038fff34aa95d0aa1c0d9afab00c59b815 SHA512 e99b1e15cdf243ef8c3cc7ff31844eea015fac07cc0f07abd950a97d0f529051ee4a2d90279e7ee849058574ff1704d21d2837695cd40deb06fe969a35dfd843 WHIRLPOOL 468b0fdf76a874d52292b8217e284d55c745a57fd2e5105802045baabc897f2a0686cb43d5c3ac81fb182991b8994f7bc42b59fd7b021de6314d45d301b2ee47 +EBUILD coffee-script-1.6.2-r1.ebuild 790 SHA256 17b7449ae09e32277250a85d6cb07b038fff34aa95d0aa1c0d9afab00c59b815 SHA512 e99b1e15cdf243ef8c3cc7ff31844eea015fac07cc0f07abd950a97d0f529051ee4a2d90279e7ee849058574ff1704d21d2837695cd40deb06fe969a35dfd843 WHIRLPOOL 468b0fdf76a874d52292b8217e284d55c745a57fd2e5105802045baabc897f2a0686cb43d5c3ac81fb182991b8994f7bc42b59fd7b021de6314d45d301b2ee47 +EBUILD coffee-script-1.6.2.ebuild 432 SHA256 05f72d133089eca39bb1c66946285f201d3ab3a09a3a43d3f420f808b4752fcb SHA512 7d22fed5c9adfe472a19a95a58953b30c31a244409dac447fbafc65cff41cac6c403d097c8d5a006720618693fceb97bab2f453878ac99c20e2a90641147e7fe WHIRLPOOL 0167db4bfbb1df1bf953e15f72df3a93c2ff46b1588ce38fc1c25c7eaa0ba3b94139ee689f36e6820e7b463b4cff792522769d656a28ac8eff850f26a81302a0 diff --git a/dev-nodejs/coffee-script/coffee-script-1.6.2.ebuild b/dev-nodejs/coffee-script/coffee-script-1.6.2.ebuild index df46604..98872b8 100644 --- a/dev-nodejs/coffee-script/coffee-script-1.6.2.ebuild +++ b/dev-nodejs/coffee-script/coffee-script-1.6.2.ebuild @@ -3,38 +3,27 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm -DESCRIPTION="Unfancy JavaScript" -HOMEPAGE="https://npmjs.org/package/coffee-script" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" +DESCRIPTION="Unfancy JavaScript." LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="extras" +KEYWORDS="~amd64 ~x86" +IUSE="doc extras" DEPEND=">=net-libs/nodejs-0.8.10" RDEPEND="${DEPEND}" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} +NPM_DOCS="LICENSE CNAME CONTRIBUTING.md" src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{lib,package.json} ${node_modules} + npm_src_install dobin bin/* - dodoc README* LICENSE CNAME CONTRIBUTING.md - dodoc -r extras + + if use extras; then + dodoc -r extras + fi } diff --git a/dev-nodejs/colors/Manifest b/dev-nodejs/colors/Manifest index 284dc37..0aa1ad7 100644 --- a/dev-nodejs/colors/Manifest +++ b/dev-nodejs/colors/Manifest @@ -1,2 +1,2 @@ DIST colors-0.6.0-1.tgz 10240 SHA256 ca97f462664d77f5ae813029d020d4610ec9fd3f9eef3875e551d3665be7ab7d SHA512 65a42dc92538e2599944fe8cf82a2f1569eeed09f12d3b2bff7c1445bec108e575fe02a351bff7baedcdb0b47e7ef03625fb3ab0d7f0715ab44e9da65986eec6 WHIRLPOOL 0dfc7038a184af35e07e65072929d4269bc8e64270e51c53599630c8e10734e5ffb8b0ad08291c85e10113d31ecd596b3fde4f222b5d5fa0a92b5cc1f0589d40 -EBUILD colors-0.6.0.ebuild 773 SHA256 152fa25b415958d824e4241388a8782aa86f280fc85fe5b909f54a41c379c048 SHA512 bebc7ee891fcbd7ca8d0cd3692cc789a80ec1421b7ae06e2fbdd966d26b923a0c128e6b1e2059298d9f893a936ce2fcc388fe5ae72ded727c9252cb78e83de2a WHIRLPOOL 690aef9b9777d32465dfac8c5bc5c452061c834f1e1aea68f11e5a7a206fc6cfeae03f895720c9b28524f86dc2f8d0dd8dc03d667c351d15cd4155bc603d9688 +EBUILD colors-0.6.0.ebuild 434 SHA256 8f82194232f4c0e4dc25c3c6f6c44ac06b7406ee10c844747823d0981736b4a9 SHA512 280fe61cabdb4ede38903cfce029656115c34a8f51ee9a10db99b214ddf89c3e1dc5263be5230a4bebb23b63530cb03548d8c86ea31644decf13c2a2aab839d4 WHIRLPOOL a41e3fdac9dee787924bbafc24c2fba8b8868965f0c388a5042e9dc33a30466105976ace4e6899b1ab6f11ab7cf77830c9d30a181edb95a8f16d4ce6fa0a676d diff --git a/dev-nodejs/colors/colors-0.6.0.ebuild b/dev-nodejs/colors/colors-0.6.0.ebuild index ce8c710..fd4d169 100644 --- a/dev-nodejs/colors/colors-0.6.0.ebuild +++ b/dev-nodejs/colors/colors-0.6.0.ebuild @@ -3,10 +3,9 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} REV="1" -inherit multilib +inherit npm DESCRIPTION="Adds colors to your node.js console" HOMEPAGE="https://npmjs.org/package/colors" @@ -14,26 +13,10 @@ SRC_URI="http://registry.npmjs.org/${PN}/-/${P}-${REV}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{colors.js,package.json} ${node_modules} - - dodoc MIT-LICENSE.txt ReadMe.md -} +NPM_EXTRA_FILES="colors.js" diff --git a/dev-nodejs/dateformat/Manifest b/dev-nodejs/dateformat/Manifest index 62a3f64..8ed3d57 100644 --- a/dev-nodejs/dateformat/Manifest +++ b/dev-nodejs/dateformat/Manifest @@ -1,2 +1,2 @@ DIST dateformat-1.0.6-1.2.3.tgz 4528 SHA256 202c3e37033ac1d98aa86abba9e7bad5cec5e80772cf09a2352560831c2dfd0d SHA512 14489fe38ca7083f7670753d17687b7894063c4a4772a270e3339370caab97b69c82acd5216f3fe28bb1ffb3f1b70bba06c94ad4295d4c9c20d7e5b4978a13d0 WHIRLPOOL cb3e65228f1206db8b9d96fd4759ff4728ec6014118fbbeeace6896efff87f5e96915cf97e4a226731cccb1c75befcccc1519077d52998a1f7b81e7566c61aff -EBUILD dateformat-1.0.6.ebuild 801 SHA256 ebffe9dae79a43017efb73a952908ab62331b17e5a3e18f7f5374528998a1ccf SHA512 a9cceb94b24c2f3136e59d468816544b21b14998478db37787759b15fdc1b1c5b26f6b0d31a784281959039644c01defa7183a471cbcf6db7fce37e559fd2a38 WHIRLPOOL e13f4ac7914231c863216e2981b0ab2bda3dec11267db5f3bdfc20e9ced3a853885d81fa5d0d679f1292baa005ccfbc3432a7c8b62c472f09ed9ed5bd11a8de2 +EBUILD dateformat-1.0.6.ebuild 461 SHA256 bd31fdcf597e8c852b28f45a52eaa8e63d8fb7a5480d283527b8cf700a6c2ccf SHA512 80812ba79fd5c6c81c1e80438ffa746d17692520be9d9045854a72c107d86485d0e7f44acd9811e285eac9eaca784cffa8a18ae1fe1a96b0dacbbf4755b781c4 WHIRLPOOL 29dbd0cf7a4ee9357cb7dbd8aa08d84c8f7f575c05fedb8c48eb11c4f163744cc1aed384d39573e59c53e3041034968634b0398cecde6f66157c3466986978e4 diff --git a/dev-nodejs/dateformat/dateformat-1.0.6.ebuild b/dev-nodejs/dateformat/dateformat-1.0.6.ebuild index bf5fb9d..326abaf 100644 --- a/dev-nodejs/dateformat/dateformat-1.0.6.ebuild +++ b/dev-nodejs/dateformat/dateformat-1.0.6.ebuild @@ -3,37 +3,23 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} UPSTREAM="1.2.3" -inherit multilib +inherit npm DESCRIPTION="A package for Steven Levithan's excellent dateFormat() function." -HOMEPAGE="https://npmjs.org/package/dateformat" SRC_URI="http://registry.npmjs.org/dateformat/-/${P}-${UPSTREAM}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{lib,package.json} ${node_modules} + npm_src_install dodoc Readme* } diff --git a/dev-nodejs/debug/Manifest b/dev-nodejs/debug/Manifest index 7247ab6..09f4b42 100644 --- a/dev-nodejs/debug/Manifest +++ b/dev-nodejs/debug/Manifest @@ -1,2 +1,2 @@ DIST debug-0.7.2.tgz 5148 SHA256 f9142856b1c2652a11e50f2aca068edbad7598f50d9e6d003b8ee85b2a333d63 SHA512 0a1d17e90ac7ceb3625b02ec0498fd2a05cbe482baee97c3c93b175d53f2add39b5722ae8ffacf742b5983beb59c764cd4643bc16fe8f5c0197f925e4cdfef46 WHIRLPOOL 70512a582ad8e167f697c62e6dd3716f2e42ac9a216ee5f4906d36ff67bb42adaa642456424bded7eee96fd12b006d40b970c3302fb8655818306cb7a0d4d2b9 -EBUILD debug-0.7.2.ebuild 819 SHA256 d1c104e204eabd00dea074fb81f8d3133369360114ae4781a275f230290e33b9 SHA512 f5363a3d78bdd656c41ec3bf41e5fa7c74db572894bb5d3933902edc4d532ef2c0f00ccf97160484f8fc4e4d5b42678b27abd9f69fe2d112025db4ea68a07ea8 WHIRLPOOL 2357a59e44cbe7abe3ece310098b4fd564986a730fed0cadd6bee0a099827706ac9417c003d1d17bce35fea94049118edaa2d50b2539b5894d935c07e7eb0e64 +EBUILD debug-0.7.2.ebuild 441 SHA256 de3428fa6d195f63ba95a99491e4bd0c95cdb76cf14b37207085412c29a15625 SHA512 19fc0fb2a01bb0c002a57ccbe7b86bf1de85e437f27b158238d3ec152ba36893ef30d84a3add869fdd8a372732cd17db34c7e03950906387c3552fadfa524cf5 WHIRLPOOL 61a21e2e9ba4d54a18a6c08fc2b469eb119042035d46cf1daca1eae50ce033ec728d421447dd1fc082a7478028101c26dc5c3c1049c69f24a959fb242c43e51d diff --git a/dev-nodejs/debug/debug-0.7.2.ebuild b/dev-nodejs/debug/debug-0.7.2.ebuild index 54c27d1..0122faa 100644 --- a/dev-nodejs/debug/debug-0.7.2.ebuild +++ b/dev-nodejs/debug/debug-0.7.2.ebuild @@ -3,36 +3,23 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Small debugging utility." -HOMEPAGE="https://npmjs.org/package/debug" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="example" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} +NPM_EXTRA_FILES="debug.js component.json" src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{${PN}.js,component.json,index.js,lib,package.json} ${node_modules} + npm_src_install dodoc Readme* History.md diff --git a/dev-nodejs/deep-extend/Manifest b/dev-nodejs/deep-extend/Manifest index 6fe6767..4e7167a 100644 --- a/dev-nodejs/deep-extend/Manifest +++ b/dev-nodejs/deep-extend/Manifest @@ -1,2 +1,2 @@ DIST deep-extend-0.2.5.tgz 1251 SHA256 9a30cd116191735d0ec1aa943de79951bca1d9068ea7a5a548c67e54b16d9aa6 SHA512 7837c2201e3e4bad2b2d816a140ad243cb23ba8a38a8a6dc44fb89b6ed538bb0ed6173a688f421710c32e8becadfb72d234f6d0e4a3d0ab778d00e894e75f19a WHIRLPOOL 92ce09e9da767c79ae11bdacfef708372c9c024650053202d3440e060a740bf0440eb0f755ab72b2595822e6ab1d1aac06560787ba89cff9ae024b10a589076c -EBUILD deep-extend-0.2.5.ebuild 736 SHA256 9dcb98530ac605ab1575f2d151699f2d04010139485fae79808a7a8e395adf9e SHA512 8f0ba2241b296abef59bd6457a394928f6de29111a392e49a2be8f95a268d4a517e4bd233f6cf67c2a7d7486db76380420df6e2017736d55d87849d71d56d0bd WHIRLPOOL deb873bf56c5769b5fb85b3349c44d15089889010603b55a84ecc2335f3c73f5c73227eb42939dc89f148972e4b28fa8cb96e2be6ac92cbab23e118876f93ae7 +EBUILD deep-extend-0.2.5.ebuild 275 SHA256 ff7bd6c92f8bbde0ce5a729a8a3a9b9d8c1345b392097b3c66072188ad3042a1 SHA512 5ca173ae8ac45ae53f10066d1fc38e537303e859aa322db16ef9f208c2a14c9e57e309fe3ef0aef6467baaed5e5eddf4ab2be35747a92241bb1a1bafd30c69b6 WHIRLPOOL 99eb745f765201531db593b23aaefb7c51f5f81c33ed70c37c316268869bd2fa397d4bbcab481ebcc4d4793071994881f0384b4653087c232cec560fe7035d6c diff --git a/dev-nodejs/deep-extend/deep-extend-0.2.5.ebuild b/dev-nodejs/deep-extend/deep-extend-0.2.5.ebuild index 0b674cc..2c0db93 100644 --- a/dev-nodejs/deep-extend/deep-extend-0.2.5.ebuild +++ b/dev-nodejs/deep-extend/deep-extend-0.2.5.ebuild @@ -3,36 +3,14 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Recursive object extending." -HOMEPAGE="https://npmjs.org/package/deep-extend" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{index.js,package.json} ${node_modules} - - dodoc README* -} +RDEPEND=">=net-libs/nodejs-0.8.10" diff --git a/dev-nodejs/duplexer/Manifest b/dev-nodejs/duplexer/Manifest index 30d5112..5dd22b4 100644 --- a/dev-nodejs/duplexer/Manifest +++ b/dev-nodejs/duplexer/Manifest @@ -1,2 +1,2 @@ DIST duplexer-0.1.1.tgz 2570 SHA256 e970de93b55944f514569a97b5d134163db45fee7814315ff4ce9fa2f0a6312e SHA512 b31359fa58f2f9103599a5e851179ea81069042e912ca9a0e5ec3357ec7e99211399636829d64deaf7108e915139e9b36b6de1185b2426d14da14594690f91e1 WHIRLPOOL a21a38dce94a6c09eddf1c1da67004711cbb08957c2eb12cc5d348ea211dce11100c9ac4dd6be37305697ef685673c03d6bfaedff7914ccd589dee9dea8bdf8e -EBUILD duplexer-0.1.1.ebuild 737 SHA256 c00a31989594631fd6b47f7b340851f621b784075769a1d059d6a75e6a59a977 SHA512 55549e8778e65f358e05dffe53a34b533de206fc81dd088ed1ce95d229057b93785e8f345449caa5cc2f35c674396b4e178e6ddaea1bcf5f81efcb32d24269cd WHIRLPOOL 8e652b7a556196c903f459597e02ec865bc74bf100590158e7c611572f382a25934c8d03315f837dc03d5eba03745ff8bd12d57d686239b946398b10bf0482ba +EBUILD duplexer-0.1.1.ebuild 282 SHA256 8d00c1a95aad1fbbe7473209605d384df4d361e9dd7c861999ef0f29d9373088 SHA512 3e60bc5d5476097fe5b9445956416f8addbffd8699b96d72e6945142730082cd23d1b8e06c0254632684465a5bf8b52f4330abd047d62235599a8d81a6e13982 WHIRLPOOL ef8ffc9245786f8279c85e18245279ae8c32f3d3a05ddb0e2c9a2c42e42405fbb0150838217ef69ed00ae0ec50409d13e16b70aa0b7f681cd3b5d84381825a01 diff --git a/dev-nodejs/duplexer/duplexer-0.1.1.ebuild b/dev-nodejs/duplexer/duplexer-0.1.1.ebuild index c83a66c..5ff1995 100644 --- a/dev-nodejs/duplexer/duplexer-0.1.1.ebuild +++ b/dev-nodejs/duplexer/duplexer-0.1.1.ebuild @@ -3,36 +3,15 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Creates a duplex stream." -HOMEPAGE="https://npmjs.org/package/duplexer" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{index.js,package.json} ${node_modules} - - dodoc README* LICEN* -} +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" diff --git a/dev-nodejs/esprima/Manifest b/dev-nodejs/esprima/Manifest index 9601b7f..e0353d4 100644 --- a/dev-nodejs/esprima/Manifest +++ b/dev-nodejs/esprima/Manifest @@ -1,2 +1,2 @@ DIST esprima-1.0.2.tgz 108723 SHA256 247399624e58b61b2d84e09dfdb27ebf1c7f9b4527853c1be0444e7972018091 SHA512 8f66403750a6feb82c2041e035ae9eaaf66312da8587c58451d56cc04a718f4dc0cb347547a0877ee9cea5df4d3a62e0d14d7c6803b616e9c08ece3d7f9c3462 WHIRLPOOL c4804daff79c9c2fbfaf1e6e790518ef641ebd935490767c53e499b73bd050f8c4c17e3f500b7f41259bdaf78504b4738d45b857edb52e56950fa55175cdad4e -EBUILD esprima-1.0.2.ebuild 903 SHA256 1c6070810a9bfcb04bffbca7f69e8836fbc73a39d2b1e0b593fb005dcd3d0377 SHA512 cedeeac03f88f3a7536500f9c94449a83f8090b6fdb4a949e1cc1a8da4c57d71100030f539ce0a668e693added2b79576d15e55c4ff8cc813d16388061839c79 WHIRLPOOL 2d07c2b995f023297e1518e9925862a3d4f13291ccac75de860867d6fcccb931839ecd776287f819d19c9439d840c1a81e823ddd1fd3682f22901f8f17fcc962 +EBUILD esprima-1.0.2.ebuild 603 SHA256 bea2965eb0f7108b3307212959fe5eed23f9e30a1fcb7601b17726da577df059 SHA512 06d8a9e1af3f4e81d6c4dca46453c51f831cbff496289a598cf6a8c3c7769f2d1baf14ba067c91c877bff32e36eabee820de6f9bc0aac64cb49567e3d611bc97 WHIRLPOOL a84ca71a17796f58be000048b715c9e049e9ad9d1d359c1f78bcd3cefd46bb51ab984a07880acf845985411d479de696eb4e9f2799d79328a63fd1069f8107ae diff --git a/dev-nodejs/esprima/esprima-1.0.2.ebuild b/dev-nodejs/esprima/esprima-1.0.2.ebuild index fe865ee..cacad56 100644 --- a/dev-nodejs/esprima/esprima-1.0.2.ebuild +++ b/dev-nodejs/esprima/esprima-1.0.2.ebuild @@ -3,39 +3,28 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="ECMAScript parsing infrastructure for multipurpose analysis." HOMEPAGE="https://npmjs.org/package/esprima" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" +SRC_URI="http://registry.npmjs.org/${PN}/${PV}/${P}.tgz" LICENSE="BSD" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="doc example" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} +NPM_EXTRA_FILES="component.json" src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{${PN}.js,component.json,package.json} ${node_modules} + npm_src_install dobin bin/* - dodoc README* LICENSE.BSD if use doc; then dodoc -r doc/* diff --git a/dev-nodejs/eventemitter2/Manifest b/dev-nodejs/eventemitter2/Manifest index f8fe244..3356bd1 100644 --- a/dev-nodejs/eventemitter2/Manifest +++ b/dev-nodejs/eventemitter2/Manifest @@ -1,2 +1,2 @@ DIST eventemitter2-0.4.9.tgz 16826 SHA256 9cf5e5a219df941ea4b281ca98ae607365bdf51e028e3698e75dba8bb1b63a43 SHA512 ffdb8dfa0e66190faa056cc6a393b911b0b37e533c86d272b0da6995eab7b5071620cea0b19a7181e9b2fc874e467be7bab5c8cecc888f6ad3f60464c1237272 WHIRLPOOL a14e38f23cfa55fac2b460735727dad1e5daa327ab365aca56a043fba6164ed3a252c057bafa2ed7cb102cb98dada2c0e185261c86ebd39f8d836ab7bc44b1d4 -EBUILD eventemitter2-0.4.9.ebuild 778 SHA256 56c53ce4b95df9250dca8a8c5aa93c4270bdd4edd73b3baae4da0f19f92ab1a3 SHA512 b44ea535c1d6f786f379dd34277693657702898bb74691cc5612889206f8d9dbe9c486a4fa08a271204eea1dfbb46c2f7e79b5d1fd78da3bfa715dab4ec61d84 WHIRLPOOL 777b7fde5d9863f70a175a442eb4b225703cde1fe38905792cee2e07524a8d63d7fcdf1734e4e18a88605aaa9fa66fd615d066ba4f812b6528f5808aae56a878 +EBUILD eventemitter2-0.4.9.ebuild 323 SHA256 890f627da9d2ea9a15d2950faea47e05e531fe8117a2879790e0c05d9f6bc909 SHA512 e97b1f7cb9a401a31733473051f9a626f34f8be575136f7f5773391629e44fc1e33ecb9ac9f2499c1fd68d1386d109fbed31c7517efeaa878859ebd530077f75 WHIRLPOOL acdbbca184b3d91e879086a2f6f03c44de67b6d41b1850e3dea915864b46d2c87f17500dbc0328b1d758b74ea65006ea6d6a2f3c4da07fbf96fbf1b78ecdfbae diff --git a/dev-nodejs/eventemitter2/eventemitter2-0.4.9.ebuild b/dev-nodejs/eventemitter2/eventemitter2-0.4.9.ebuild index d4db39d..470ed5a 100644 --- a/dev-nodejs/eventemitter2/eventemitter2-0.4.9.ebuild +++ b/dev-nodejs/eventemitter2/eventemitter2-0.4.9.ebuild @@ -3,36 +3,15 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm -DESCRIPTION="Higher-order functions and common patterns for asynchronous code" -HOMEPAGE="https://npmjs.org/package/eventemitter2" -SRC_URI="http://registry.npmjs.org/eventemitter2/-/${P}.tgz" +DESCRIPTION="Higher-order functions and common patterns for asynchronous code." LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{lib,package.json} ${node_modules} - - dodoc README* -} +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" diff --git a/dev-nodejs/faye-websocket/Manifest b/dev-nodejs/faye-websocket/Manifest index c4267d6..6356897 100644 --- a/dev-nodejs/faye-websocket/Manifest +++ b/dev-nodejs/faye-websocket/Manifest @@ -1,2 +1,2 @@ DIST faye-websocket-0.5.0.tgz 9218 SHA256 4a2fc48438079678e4152116d1fd165537950e05458a7736dce351c0c42a91d8 SHA512 e5631f0ee6a2cb41f832f74e7a21a89f153c127b820f61e6864ef7a71bef8670762c0b07526089db5dbbd419d5e3699c82834c65086f6e592a0cd448b6b38b27 WHIRLPOOL a78d660e5ceb12ffce6c5c0876014fb6fe582d85cf3f34cd65ce426c094fb4440c5442bd1b46d55305f9cb9a9938294f57e6b299db4c505ace3087d8b9d8f015 -EBUILD faye-websocket-0.5.0.ebuild 861 SHA256 b7585b952d28a3cbf29937c1a4cba31fe56534ca5cfcab42aa44167cecd519f6 SHA512 cf29cd11347cb899ca19615c167353a00a1596603b42a7e4bd6bbd60197a728b6c5f57332a14eeba3f7d78938c8e3599fbe6943b620198da577c700fb8ea9874 WHIRLPOOL 99c75dd2730ca7f4bdd8180b97cfd563da581778616b23879dbefcc8ce122827f6e53635639972a8b05777fb76b61a810024adbae5259df82f7fec615446a783 +EBUILD faye-websocket-0.5.0.ebuild 433 SHA256 d0cbe06124b7d5ed201540de2b0d610cf91988dca439ab1f7166ffe69bae6a81 SHA512 5b7e4910e79e4d416bcaa822cf17cbaed8d9b11ab2c255b66ab8fbe47732b5863fb78eeef9074a25d6777c8aa958d713113fce06317ab4531d4987b72f7378e2 WHIRLPOOL 5e55d701402ca551f9eafff7c86704c8edc043dae63c77b0c1abf80c3b2f9a6b3f47fff7d56864e97cd5e86f5c98ce32de69166cfaa9b44d2ed771adec1c846e diff --git a/dev-nodejs/faye-websocket/faye-websocket-0.5.0.ebuild b/dev-nodejs/faye-websocket/faye-websocket-0.5.0.ebuild index 90e7d8f..c52918b 100644 --- a/dev-nodejs/faye-websocket/faye-websocket-0.5.0.ebuild +++ b/dev-nodejs/faye-websocket/faye-websocket-0.5.0.ebuild @@ -3,39 +3,22 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Standards-compliant WebSocket server and client." -HOMEPAGE="https://npmjs.org/package/faye-websocket" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="example" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND=">=dev-nodejs/websocket-driver-0.1.0 - ${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} +RDEPEND=">=net-libs/nodejs-0.8.10 + >=dev-nodejs/websocket-driver-0.1.0" +DEPEND="" src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{lib,package.json} ${node_modules} - - dodoc README* CHANGELOG.md + npm_src_install if use example; then dodoc -r examples diff --git a/dev-nodejs/file/Manifest b/dev-nodejs/file/Manifest index 3c0bd76..ec6aa75 100644 --- a/dev-nodejs/file/Manifest +++ b/dev-nodejs/file/Manifest @@ -1,2 +1,2 @@ DIST file-0.2.1.tgz 3135 SHA256 10e66550cae9f4cd2ccd3128458bc90d6533eb2353e5cebc560aff32cbed896b SHA512 407cddb764c511842866a9aa0d4fcdb3272dc64be48d4463a778baa58bde41af6c94bcb968361b35004d123847b2862f36e9c335ca333a2ec60c86e40681df03 WHIRLPOOL 390f3c21387c1e925226adf25f087a5314d1ec504986ca00a94f02ff2a7cbf823ae8b89d1e8e211ea10ace0b18eba13b01798c587b84aa2bf8ee56e320e5573e -EBUILD file-0.2.1.ebuild 747 SHA256 b662d69b0f96e0ce4030f460c219529f1a8986c594292b1b6719211943bf2ff2 SHA512 6f6c1f55a78a6dced11a2b59f658e2e40bf0b4f217a4343ec4014d2055e78ee7c947e63bde815f3c31b48b198551bc516e623c60d75aa9277bc3ead53b0ddd5f WHIRLPOOL 1361679b37fa9081058e40493de807b2d402367412498989c4f4e7334b1fa670bb7b9d093f55d1e37fedb39d68add61fcc6e61abacb8d597b60c36f7df26a092 +EBUILD file-0.2.1.ebuild 308 SHA256 0d39ca02a0fcf18b87afe236c900758afe00bf9e2f60759430f14a5d0ed06e04 SHA512 696660b10098459b8ac6d46e17d29af92b93788dcf4028b9ef6d28943bba36be8e92cb4c85994be660d0aa484b4a9367ee230f83addf98564724be53021f4979 WHIRLPOOL 1783d3c0a1358bd9bfb2943885385f240c9763092771f917f41757ffccd409efcaac325011ab5715111a64589f99c4551a197700a80fab0f7e78f45ef6a36b75 diff --git a/dev-nodejs/file/file-0.2.1.ebuild b/dev-nodejs/file/file-0.2.1.ebuild index 0f17bb7..3ca39c5 100644 --- a/dev-nodejs/file/file-0.2.1.ebuild +++ b/dev-nodejs/file/file-0.2.1.ebuild @@ -3,36 +3,15 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Higher level path and file manipulation functions." -HOMEPAGE="https://npmjs.org/package/file" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{lib,package.json} ${node_modules} - - dodoc README* -} +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" diff --git a/dev-nodejs/fileset/Manifest b/dev-nodejs/fileset/Manifest index b2d6782..9639f91 100644 --- a/dev-nodejs/fileset/Manifest +++ b/dev-nodejs/fileset/Manifest @@ -1,2 +1,2 @@ DIST fileset-0.1.5.tgz 4154 SHA256 f32e40b28096f5905a185517674da11486ec8487f375bcfb9dab79d09c5ec11f SHA512 af7a5acc9fe0e2fc7783bd14e2059d50677e8162351293336d45a038827faed41c67211e6a1400e9b0203b52971809fa0bda45125ea62761589943f5b2d9f576 WHIRLPOOL badf76b0492273f17b48d1bf1bba49b404b834769adbd1a81f21502614932923670ee524c5c2071a0a2a271b82ce10d79f55d3dcfeab17db6d6f402100963d79 -EBUILD fileset-0.1.5.ebuild 875 SHA256 736316352547ee0f59f22a4a7759d9e0c32ccc98fd0070104a98975479cf48a7 SHA512 a281fa2e9733db86ae50f09f4858269468db306c8ac24b0ee748119b607dc923050b5f6277c9c9514191df8f1e98648cff85ff7381c37de9496b0c51a654fe13 WHIRLPOOL 9c7d8e6f97469e4319ae2a0e1f04228dce483a2ddcd74430742cf8e4809cbad503d60e85ab85e39ba2a0559a22686b992beb8f8332f4c8f4edbb7a56a3d5d81c +EBUILD fileset-0.1.5.ebuild 420 SHA256 2844a3e6564e98a2c78b42bd640ce0ea68db4d5169a484e52c45e37c336608af SHA512 7259cede1515060b069158fe879b6b07d40727ca272af443edccb77bd93331d06d0ef0dd13c46bf575ab76653f6419fb4015aef6a16293b3a05ff04064c1d825 WHIRLPOOL c631b2067ec205ccd0ba6b67d72f33498b35ed6f717634fc85bf488e488f3f239a39bd1ce6d37add5fde3ac936f66d2db1e27ee1096b61b6e163728bdcfea3ee diff --git a/dev-nodejs/fileset/fileset-0.1.5.ebuild b/dev-nodejs/fileset/fileset-0.1.5.ebuild index d34b9a1..a8bb935 100644 --- a/dev-nodejs/fileset/fileset-0.1.5.ebuild +++ b/dev-nodejs/fileset/fileset-0.1.5.ebuild @@ -3,39 +3,18 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Wrapper around miniglob / minimatch combo to allow multiple patterns matching and include-exclude ability." -HOMEPAGE="https://npmjs.org/package/find" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/minimatch-0.2.12 - >=dev-nodejs/glob-3.2.1 - ${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{lib,package.json} ${node_modules} - - dodoc README* LICENSE-MIT -} + >=dev-nodejs/glob-3.2.1 + >=net-libs/nodejs-0.8.10" diff --git a/dev-nodejs/find/Manifest b/dev-nodejs/find/Manifest index d9825bb..58d0070 100644 --- a/dev-nodejs/find/Manifest +++ b/dev-nodejs/find/Manifest @@ -1,2 +1,2 @@ DIST find-0.1.2.tgz 3707 SHA256 bf25570daa425746f4c692a4e7fb47dcc1d8dcdd0beeebfa24df6e78ea17a788 SHA512 de1734848a46468124e2f32c6ef7f966f45ae70ddd2861b1d876dd8e5b01c32a495f91c1e841f2d800ccc59bfe2a8767ba26b25b9a523ae8e1dcdb38a47274f9 WHIRLPOOL 20d11fe87f89bb2bd4a1e8362f7d3d57525968ebcbb6a71402e96050d32045f7bd6c7d42a47d95f77910434f3fe2ee61582c643e6c736141bce6f609cc7fc1e4 -EBUILD find-0.1.2.ebuild 749 SHA256 8bcd5d5319d37faae32f1da1b701fb4a8c0cd303c18ebac5c038a9fbe291129f SHA512 201a3aac5f5ad05cdb1f5074b79cf906710d8ffc6474f16e445d8cfa08a6eb543809d252fe8ae31a0a7f77b0bf324121e9951ea9fba1864056201b85d0781044 WHIRLPOOL b54dfcd87cd303c51c8a5ea2f73c0101a5bab4c7b609865952412bb51162a09851989e11beddeda24b1a4c809e82bfd36cbfcb6b4c4d59de8aa8a576a2a1b74d +EBUILD find-0.1.2.ebuild 303 SHA256 fc9f947a2f8cb8663511baeb7e53d7e5411a5edb6e77b9c564b4d18696ad71bb SHA512 0b9de7e3e1753e46c4d934fb56da5736e0103d109e37add27c7956f1bf93972e0b8e035f197054bc1f8fe64f4cb9e9ab9c13a79b51508158358909b156487e76 WHIRLPOOL 0d427a2bffb9b00b6d0bdae41a91342a73e7d48ea27c72c6d42dfb6a3e89fae64abb4ab63734d8f45815a167e60d4cd0867b88b22d15e7b5bfb76cd9dcd9641e diff --git a/dev-nodejs/find/find-0.1.2.ebuild b/dev-nodejs/find/find-0.1.2.ebuild index e4c6521..bfda260 100644 --- a/dev-nodejs/find/find-0.1.2.ebuild +++ b/dev-nodejs/find/find-0.1.2.ebuild @@ -3,36 +3,15 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm -DESCRIPTION="Find files or sub-directories in a clear way" -HOMEPAGE="https://npmjs.org/package/find" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" +DESCRIPTION="Find files or sub-directories in a clear way." LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{lib,package.json} ${node_modules} - - dodoc README* LICENSE -} +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" diff --git a/dev-nodejs/findup-sync/Manifest b/dev-nodejs/findup-sync/Manifest index b88ff05..13e460f 100644 --- a/dev-nodejs/findup-sync/Manifest +++ b/dev-nodejs/findup-sync/Manifest @@ -1,4 +1,4 @@ DIST findup-sync-0.1.0.tgz 3003 SHA256 00911fa6aec7bf9b98c11a517a181e89a25269b8601e0358aae7b4febe84872b SHA512 ab19c3b13763c044a12e586f801ac78e79577807ef10f69042e8344bc4406f5d62e4932afd20b79f8154851ca0a534004dae215849f3b7e21e26a3d4cbc34886 WHIRLPOOL 5595cd6f40f4993cb1f32197a64d3f8e37dfc09ff961ec1e1148bce2696037a67aa5ae5832a601682a83623cfca8a30748aaf10115510922424d9b45fb16184b DIST findup-sync-0.1.2.tgz 3347 SHA256 0df0154b34bd0b8a2a69ad4fac1f91093c1b22d21f7a407d0eb9abfc0f9cb20c SHA512 ba593307f2972dd613322f374b7d06d367e7e3cbdde7ca70bb544d10a69bd80013228fc8d2a65c10e7ae8f9b96570b50d03b51d3f123987ccf27c319487309e0 WHIRLPOOL a15412ab58acf78ce011cd12d52a2d9b2ddc61f530f5822247ad13d4ebab93c76a6df1a37489974db5ee75803c3579b89dfeae53f4639f5b59733762266408d1 -EBUILD findup-sync-0.1.0.ebuild 859 SHA256 353029942e0616ed7e985ca6d315a389fc52fdaa7bc56dd3385fd7737fc68e3c SHA512 22fb9bdf526cd61401e02c79f8f2feb808efd588080582c338a76a0e5c67e859d03ab9b932e19316167068114e7cb8aac9046624d6003fd842af1b66556444c0 WHIRLPOOL 52909ed140fb13fbae929eb6426fda0540b6b2a93028561ab28915bfa9aab3448d4df10d08837af18317e42fe6149646681cb7caf1862d3eace797fa8deced6a -EBUILD findup-sync-0.1.2.ebuild 859 SHA256 353029942e0616ed7e985ca6d315a389fc52fdaa7bc56dd3385fd7737fc68e3c SHA512 22fb9bdf526cd61401e02c79f8f2feb808efd588080582c338a76a0e5c67e859d03ab9b932e19316167068114e7cb8aac9046624d6003fd842af1b66556444c0 WHIRLPOOL 52909ed140fb13fbae929eb6426fda0540b6b2a93028561ab28915bfa9aab3448d4df10d08837af18317e42fe6149646681cb7caf1862d3eace797fa8deced6a +EBUILD findup-sync-0.1.0.ebuild 419 SHA256 d8cd36690eec357a1840c3b4d54944cbbba0d3ad2de99f3397450dd6f564918f SHA512 bf4db87ae2f2250f487262f0c4a954b07aee9573f56a7dac1679ce99139ac38623d8cf8823fe73b98d125ac3b6b605af2f8ee9256009d3e94943fc7c7c9322cd WHIRLPOOL 1fed891e216d2e873d25d5207289e337f96881b14c44f412fbbcaa2bad517808865577f02f9447ced9c370fd8275a192ad7656fd9a5ded12014b1971bd802be4 +EBUILD findup-sync-0.1.2.ebuild 419 SHA256 d8cd36690eec357a1840c3b4d54944cbbba0d3ad2de99f3397450dd6f564918f SHA512 bf4db87ae2f2250f487262f0c4a954b07aee9573f56a7dac1679ce99139ac38623d8cf8823fe73b98d125ac3b6b605af2f8ee9256009d3e94943fc7c7c9322cd WHIRLPOOL 1fed891e216d2e873d25d5207289e337f96881b14c44f412fbbcaa2bad517808865577f02f9447ced9c370fd8275a192ad7656fd9a5ded12014b1971bd802be4 diff --git a/dev-nodejs/findup-sync/findup-sync-0.1.0.ebuild b/dev-nodejs/findup-sync/findup-sync-0.1.0.ebuild index d81f8e1..e580924 100644 --- a/dev-nodejs/findup-sync/findup-sync-0.1.0.ebuild +++ b/dev-nodejs/findup-sync/findup-sync-0.1.0.ebuild @@ -3,38 +3,19 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Find the first file matching a given pattern in the current directory or the nearest ancestor directory." -HOMEPAGE="https://npmjs.org/package/findup-sync" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND=">=dev-nodejs/glob-3.2.1 - ${DEPEND}" +RDEPEND=">=net-libs/nodejs-0.8.10 + >=dev-nodejs/glob-3.2.1" +DEPEND="" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{Gruntfile.js,lib,package.json} ${node_modules} - - dodoc README* LICENSE-MIT -} +NPM_EXTRA_FILES="Gruntfile.js" diff --git a/dev-nodejs/findup-sync/findup-sync-0.1.2.ebuild b/dev-nodejs/findup-sync/findup-sync-0.1.2.ebuild index d81f8e1..e580924 100644 --- a/dev-nodejs/findup-sync/findup-sync-0.1.2.ebuild +++ b/dev-nodejs/findup-sync/findup-sync-0.1.2.ebuild @@ -3,38 +3,19 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Find the first file matching a given pattern in the current directory or the nearest ancestor directory." -HOMEPAGE="https://npmjs.org/package/findup-sync" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND=">=dev-nodejs/glob-3.2.1 - ${DEPEND}" +RDEPEND=">=net-libs/nodejs-0.8.10 + >=dev-nodejs/glob-3.2.1" +DEPEND="" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{Gruntfile.js,lib,package.json} ${node_modules} - - dodoc README* LICENSE-MIT -} +NPM_EXTRA_FILES="Gruntfile.js" diff --git a/dev-nodejs/fstream/Manifest b/dev-nodejs/fstream/Manifest index 2cf48bd..ff2f509 100644 --- a/dev-nodejs/fstream/Manifest +++ b/dev-nodejs/fstream/Manifest @@ -1,2 +1,2 @@ DIST fstream-0.1.22.tgz 17261 SHA256 2ace3993d34cbf5e97bcb9c7eec3f011fa2041ce66cb688e39e747285084496a SHA512 7899818263ca2c03ff8d66edc0aaaf2c0cb7710e1711b2b3276aa234d61913fdaf12494b20473522ebc0f88141ed6b84a1bbdda3e4f3af266aae3f3ba15964d5 WHIRLPOOL 67dfa8694c687f4f6d1bebef603910577ff0a3a519228e9c6455cda7a4e7ed311c52cfbede2de774ae52562679148fcc69ef633392b8525299385538fc5c0260 -EBUILD fstream-0.1.22.ebuild 929 SHA256 fb4db6e68626935f473ed1d98fdbabeefc323d851bccdba705288c22fb66d65e SHA512 0ece6b6910e8d9c2bc40de84e630d639cae60d100a99f411cff7fdb931a262e27d98a3b1f8add0d5c56280f05fa742164de697aa77e4d3bd0e264b6d65cdd91c WHIRLPOOL 24cc7d196a942b7b6739015c19526618fda9ea0e415516598cc640ffba3eb99124e9979554b7261d00dadd28bde3a2d1e6a5dbeed8f85a02f20a464a1bbb8972 +EBUILD fstream-0.1.22.ebuild 509 SHA256 8981faf0365711a2f44a812a0fbbebbb64068eca92e7461269743387731318e1 SHA512 0e38e108ff549ff33278ea028bbd092f953bd68748c8ac891cf7c48ff3a2cb7f68bbfd664852645f05ba6416e7023299f63e6d58f62c233dc3f2be466b5adac4 WHIRLPOOL cc2885fdcb45dcc26573a2d97aaa4435fea314b61f30f8f7e007c7063bfabe247a502fd484f6bc224e3e8865bec1492d3e55d86b2ce61547252b6a950c7cbb78 diff --git a/dev-nodejs/fstream/fstream-0.1.22.ebuild b/dev-nodejs/fstream/fstream-0.1.22.ebuild index 51afbe0..b107424 100644 --- a/dev-nodejs/fstream/fstream-0.1.22.ebuild +++ b/dev-nodejs/fstream/fstream-0.1.22.ebuild @@ -3,42 +3,26 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Advanced file system stream things." -HOMEPAGE="https://npmjs.org/package/fstream" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="example" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/graceful-fs-1.2.1 - >=dev-nodejs/inherits-1.0.0 - >=dev-nodejs/mkdirp-0.3.5 - >=dev-nodejs/rimraf-2.1.4 - ${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} + >=dev-nodejs/inherits-1.0.0 + >=dev-nodejs/mkdirp-0.3.5 + >=dev-nodejs/rimraf-2.1.4 + >=net-libs/nodejs-0.8.10 + ${DEPEND}" src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{${PN}.js,lib,package.json} ${node_modules} - - dodoc README* LICENSE + npm_src_install if use example; then dodoc -r examples diff --git a/dev-nodejs/gaze/Manifest b/dev-nodejs/gaze/Manifest index 1724c77..89bbe40 100644 --- a/dev-nodejs/gaze/Manifest +++ b/dev-nodejs/gaze/Manifest @@ -1,2 +1,2 @@ DIST gaze-0.3.4.tgz 11019 SHA256 d6b92961d60764bb341fa7b6449ff228a1b10e36e77af9c4512270536437dc98 SHA512 bc82bcd594f6d28f57d0b3876031a8e4f86ae856904630e304dd8a91b612c656979cdd560c7d0ea74b4f4e1a8d540f199e637f4d83597c61c0564053add78121 WHIRLPOOL a082ea4a47b295f9785fb4b87412c5558d372e16195e2edc0b4133c5c6aa7248d403559b6b2b8736a5b9f7055469c8fee702fa219ebee8f99d91aab0dd4762dc -EBUILD gaze-0.3.4.ebuild 872 SHA256 a9c61b44e165557cae7eaaf6c75d9f7316dae5a16e95020c0e640e13c13eb952 SHA512 4cd9430591de20904afe13af8f018325ff8c689cdad9e2e248e5ca2f7444375133d21790885ce20116cd1acba05a25dd1308fc3bd5c4e5b54e2871a3580c94c5 WHIRLPOOL b5be2e2a1976a21fc2b0b3f83dfa9b9f027aad5c3e93ce7d8c1fc3639247e8dea8423c7a568fd1faa2f44ee8c533ba396bfb057d7d3cb044599c7c120b0710bc +EBUILD gaze-0.3.4.ebuild 428 SHA256 1caa4bbdc99547be49184d7803fa8f27d59499acff02b3461ca4d464047d24d0 SHA512 50f39ae8ffb201ef5734b239282b28c375fdc2c84932db7e736865992345698bf76cfadfe1d16ab0383037624af80d286e5812ffdcc72756ba9978769df70954 WHIRLPOOL 810f786dd24312eab047dc62cfb37b241bab979404b18b12ecddb6f6c7b1ab01e738342f03d1bc3d26b6f98e6f5c5433d455b33f6d7d1e17b645988839c58725 diff --git a/dev-nodejs/gaze/gaze-0.3.4.ebuild b/dev-nodejs/gaze/gaze-0.3.4.ebuild index aa0a583..c4abec6 100644 --- a/dev-nodejs/gaze/gaze-0.3.4.ebuild +++ b/dev-nodejs/gaze/gaze-0.3.4.ebuild @@ -3,39 +3,20 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="A globbing fs.watch wrapper built from the best parts of other fine watch libs." -HOMEPAGE="https://npmjs.org/package/gaze" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/minimatch-0.2.12 - >=dev-nodejs/fileset-0.1.5 - ${DEPEND}" + >=dev-nodejs/fileset-0.1.5 + >=net-libs/nodejs-0.8.10" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{lib,package.json,Gruntfile.js} ${node_modules} - - dodoc AUTHORS README* LICENSE-MIT -} +NPM_EXTRA_FILES="Gruntfile.js" diff --git a/dev-nodejs/getit/Manifest b/dev-nodejs/getit/Manifest index 882cc66..6223043 100644 --- a/dev-nodejs/getit/Manifest +++ b/dev-nodejs/getit/Manifest @@ -1,2 +1,2 @@ DIST getit-0.3.1.tgz 6208 SHA256 9c7740b73dc5b1bf1b29b6612eb6a55c5e93028d32ccaede25d96c695626fa17 SHA512 70c48387f79202c15d6388c6bda41684ef3935571e1e8c9fc9910cbe4eb9b91756ce0d53a0ef095f171bdd96c09c19c9023c49649113da0c2594d0f25556c196 WHIRLPOOL d8793693ab82f0f474c348086f88d8eec7e0a2c797bb1305c0d45e3afa9c7583e88e15a32c6b173b08e37b9bf5e63bf9346b8d9cf221f79989093b16077aaf91 -EBUILD getit-0.3.1.ebuild 856 SHA256 82fc95648a86c95193f4da118104621b2c7c781267d036b2b21c0bd6652175e0 SHA512 92f67e0c8a244dc5e3ad6c85d6ee136a44357ed85ac5afab2c9b0657c5ee88e6a9c59f2e4b710a7baec817023d18b92109ac9630d2260ce9167b188cf6163248 WHIRLPOOL c235cd00bfda8d4682e795621408497892834824d8819ad2f81c45021076a867079faeaa92a4b4fd6fd4399d6da6af0c001f036e8864be540f5c29867b62d74d +EBUILD getit-0.3.1.ebuild 412 SHA256 65620e0268dc51fed738163594ce37d5ed3c0dd95bf0c7ca33534ff0fe6b1cac SHA512 91cc435cc1bd48e19fe21f0c6696ad3ba7f5c62bb6de820680466583ecf22d5b116d1581f0bfe6dedb0b85fe5a8a22fd501238e357750143635de8e1c8b531cf WHIRLPOOL f8dbfbfb6a48b85b71fbbb3a3f8294e6993d688f80672fc697d08040975985770a5dcdad83b170cc70ba10937b02bdacb6969f6113c4f8340c453117b381cb3d diff --git a/dev-nodejs/getit/getit-0.3.1.ebuild b/dev-nodejs/getit/getit-0.3.1.ebuild index 20632c8..3dad517 100644 --- a/dev-nodejs/getit/getit-0.3.1.ebuild +++ b/dev-nodejs/getit/getit-0.3.1.ebuild @@ -3,39 +3,19 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Retrieve local and remote files through a simple interface." -HOMEPAGE="https://npmjs.org/package/getit" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/debug-0.7.2 - >=dev-nodejs/hyperquest-0.1.5 - >=dev-nodejs/mkdirp-0.3.5 - ${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{index.js,lib,package.json} ${node_modules} - - dodoc README* -} + >=dev-nodejs/hyperquest-0.1.5 + >=dev-nodejs/mkdirp-0.3.5 + >=net-libs/nodejs-0.8.10 + ${DEPEND}" diff --git a/dev-nodejs/glob/Manifest b/dev-nodejs/glob/Manifest index a71a9b7..e89ee09 100644 --- a/dev-nodejs/glob/Manifest +++ b/dev-nodejs/glob/Manifest @@ -1,2 +1,2 @@ DIST glob-3.2.1.tgz 15691 SHA256 a457c2115213ce2cb59582ddc3a25eb3ae7490af687e412111c0032f72966f51 SHA512 c2fc50654aa392f5bffc524caff0c298f94038572b99fda88e751d7504dd8004395e428bf082dfa1bd11cfe0a1fdf4a2a25b3a12d8874494b78bd5b490145999 WHIRLPOOL 73d90df6d33687634e89e32f0c49e1bd08528f3f2004a814e693ba9e5dd33d95754432dad34e3f77096b77f67d33f046990f71ebc43b6983e7d6cecb93a93569 -EBUILD glob-3.2.1.ebuild 825 SHA256 883a231a9e4b161444663fc9980df32827b834446d8646d18d63251d82d29942 SHA512 8e49cf627b06e7757a37de181875434356aa7d9ebabbfbc6e0b75af2d98cf274ef3ed5e147803a2e981aa745ea3326c3b80346d5bad95635a446606225272f0c WHIRLPOOL 7956f26dc68c1a38c54847aeb16b06a5692ec30850d4ce201a8f479813c7789b0b8d6856660d9944eabedd9d3989b9171caab5f68da4b00f63b00acc3a101c52 +EBUILD glob-3.2.1.ebuild 378 SHA256 4dad2f1dc92bf7357eadcfa41f88c825f1737deb93600ab1c40ab60958f99205 SHA512 55f075ee0ff42681e35cc7b81a73a4ef5c28807d92e828f1298f314b276b03a3281c5c5209a868b9c1cbefb8d4fed8ba80012e427451d4f25a3ec92abdb21142 WHIRLPOOL 3c50428d3596e3a044ee1a10422e2eaf462fdf78863366a4a23778932fcad125b0fd9839aabc22009900acc1f8d16c89830a264adc9b8bfa97acb4f284b626be diff --git a/dev-nodejs/glob/glob-3.2.1.ebuild b/dev-nodejs/glob/glob-3.2.1.ebuild index 73ce7da..e07feb8 100644 --- a/dev-nodejs/glob/glob-3.2.1.ebuild +++ b/dev-nodejs/glob/glob-3.2.1.ebuild @@ -3,39 +3,19 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="A little globber." -HOMEPAGE="https://npmjs.org/package/glob" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/minimatch-0.2.12 - >=dev-nodejs/graceful-fs-1.2.1 - >=dev-nodejs/inherits-1.0.0 - ${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{${PN}.js,package.json} ${node_modules} - - dodoc README* LICENSE -} + >=dev-nodejs/graceful-fs-1.2.1 + >=dev-nodejs/inherits-1.0.0 + >=net-libs/nodejs-0.8.10 + ${DEPEND}" diff --git a/dev-nodejs/graceful-fs/Manifest b/dev-nodejs/graceful-fs/Manifest index ceaa1a2..c921392 100644 --- a/dev-nodejs/graceful-fs/Manifest +++ b/dev-nodejs/graceful-fs/Manifest @@ -1,2 +1,2 @@ DIST graceful-fs-1.2.1.tgz 4563 SHA256 eeef3c36c6a6476059a7e7a32d0b87e62133b11392c540f5c8c68c87f65c7c59 SHA512 db35ba8b6c2de09d295a74955b925985407b3e4ccba7490e2f5543b589e2986b4b67ee420356434332cb733e0cb868e977cb0ddab1d64f8ebe09695494a640c3 WHIRLPOOL 5f2dee981f16dd75ebfb6848515ab010306c029b00e776dc9a37098f73eae9f8186f74a495a88ba84690facf3ea58a5c62ff800916957febe80b5841ea4014df -EBUILD graceful-fs-1.2.1.ebuild 781 SHA256 47459cecead7d2f45c0cebe28610e27a44ca9296f561fd15f86e512820133482 SHA512 ec709d3fd98ed9da4b03d21d4bd11e8cbf5a74df55fd86d80cc4932d335854ca372d5160e885f4b836ff7b96971fb82c0c79a0b9aac9ec6f06751ba547814e6b WHIRLPOOL 497d0fcce2819ca84568273c2842cdda42e7cab65e743483aeea7b6b019545e5b957bfa1601581184c3fc91f1e9584f81f1aff382c99a9312928669d0b5f6387 +EBUILD graceful-fs-1.2.1.ebuild 322 SHA256 e5906b54ba0b0e647f560f71ad0b2f28c9e640df68e1329bd9a9ae71c0b0a010 SHA512 dc02653c1d9dc91b7f185f428dcb1aaeb863d0763f3c56c22762c2eeb26c98bb415299a4ad8e4940468bdbf17e5baa9ad3a032fe0fbcdd9d555094112670a94b WHIRLPOOL c15bf12f7cd690a38c7f658d28a8351a0cd92ee682e2f79311445b7f94833b36179755a338c8089089b0afac617a6e9b8990a96e8b553d81c345c0605b1a3bb1 diff --git a/dev-nodejs/graceful-fs/graceful-fs-1.2.1.ebuild b/dev-nodejs/graceful-fs/graceful-fs-1.2.1.ebuild index 19366d6..7ed9ca1 100644 --- a/dev-nodejs/graceful-fs/graceful-fs-1.2.1.ebuild +++ b/dev-nodejs/graceful-fs/graceful-fs-1.2.1.ebuild @@ -3,36 +3,15 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Higher-order functions and common patterns for asynchronous code" -HOMEPAGE="https://npmjs.org/package/graceful-fs" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{${PN}.js,package.json} ${node_modules} - - dodoc README* LICENSE -} +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" diff --git a/dev-nodejs/grunt-cli/Manifest b/dev-nodejs/grunt-cli/Manifest index c787064..318c8eb 100644 --- a/dev-nodejs/grunt-cli/Manifest +++ b/dev-nodejs/grunt-cli/Manifest @@ -1,2 +1,2 @@ DIST grunt-cli-0.1.8.tgz 4300 SHA256 74daebc93040604f151b8567fd95c14497b8fa9a260148566d89dd141810144d SHA512 970c3874b226531f1faaafc6a48c07f2e0126208b607b62e6bd8f070754581f872b7b391b5d5124f23b63341b65c34ee63ed8989fd7f8c78f11855bf13a98f7d WHIRLPOOL 1ed7014e2d460f14c20bce99a610874af92b1f28469fafa8e7d582b0eff0e93cedf40bef4e067650838c87561d872c12f388132ebf8553f4cc02f86aa370b3f2 -EBUILD grunt-cli-0.1.8.ebuild 883 SHA256 2a6fdbd6d44b8a19cf076532c5aa93b54e4f496c6d38e576ed08ac04ab2dd8db SHA512 d808624e0f8edf1f5a2b0424a494240775c2ef1adf67793b727ebdbc023384130c3793818686be0645605a60e3e773e26f1be941f87483f54f40f9be899076e2 WHIRLPOOL 8b96f22ab089e04182436e4246111a6e3144e7df2171e6c6fa45505ee56838e918e845090080d4feaded5e12b58bee9d7765c150937494cce68586c217f9ebaa +EBUILD grunt-cli-0.1.8.ebuild 632 SHA256 6a4c73d92f4495a2ce2523f17a15b876bc8ab093f9681402210f458012d2894d SHA512 ad832f08f4890e73439d0dd0464e50effdf04c5c6e28d9ff33c53746b96f42c384c131e9bbfb238903ffe75fdf49b366ef065ae2414d802cf47684afd667601a WHIRLPOOL 0045f1af24e359cad14974352ca45633cadba217f739c7abc012aa7f29fc8429773e4b0a0dc22a329fe68250ce51340e2337ae7caecf8285d3987b4795560729 diff --git a/dev-nodejs/grunt-cli/grunt-cli-0.1.8.ebuild b/dev-nodejs/grunt-cli/grunt-cli-0.1.8.ebuild index 59318e5..de4a524 100644 --- a/dev-nodejs/grunt-cli/grunt-cli-0.1.8.ebuild +++ b/dev-nodejs/grunt-cli/grunt-cli-0.1.8.ebuild @@ -3,40 +3,35 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="The Grunt command line interface." -HOMEPAGE="https://npmjs.org/package/grunt-cli" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/nopt-2.1.1 - >=dev-nodejs/findup-sync-0.1.0 - >=dev-nodejs/resolve-0.3.1 - ${DEPEND}" + >=dev-nodejs/findup-sync-0.1.0 + >=dev-nodejs/resolve-0.3.1 + >=net-libs/nodejs-0.8.10 + ${DEPEND}" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} +NPM_EXTRA_FILES="completion.js Gruntfile.js" + +src_prepare() { + local nodedir="${EROOT}usr\/$(get_libdir)\/node_modules\/${NPM_MODULE}\/lib" -src_compile() { - true + sed \ + "s:../lib:${nodedir}:g" \ + -i bin/grunt } src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{completion,Gruntfile.js,lib,package.json} ${node_modules} + npm_src_install dobin bin/* - dodoc AUTHORS README* LICENSE-MIT } diff --git a/dev-nodejs/grunt-rigger/Manifest b/dev-nodejs/grunt-rigger/Manifest index 8f9182e..51f4f59 100644 --- a/dev-nodejs/grunt-rigger/Manifest +++ b/dev-nodejs/grunt-rigger/Manifest @@ -1,2 +1,2 @@ DIST grunt-rigger-0.4.0.tgz 5286 SHA256 0bb4dfbbe01ec1f9b31c9b932ad37eba4ed8083b36e177d9886590320960c4ce SHA512 8fa8140c2e642c97751303db0aa5782cda3ede2f629e6a72efc2b3678b18d4a6fa2816250f7ffd247a85f6be85b04c474434e04adb1132a0e245b584ebdeeeed WHIRLPOOL e69036608fcc44566420647a8cf9baa61a394ab335de15c5c95255008e3d2562c188a79c7165d86f189922d937ac683675db2af93d851da3d0b505daf21cf210 -EBUILD grunt-rigger-0.4.0.ebuild 836 SHA256 d02f3d48d55987d605db11fdbad0930405bd679f4620345a061bbdfb85c6251a SHA512 d2806bb3a409aab7750edf252c3a4512a9938ed50343d43e3f1275d449e37727e81e0e7fba6359a1e600ef9afed9ec70cabe0d979171a8b36cc0ec41ae9d5ea8 WHIRLPOOL 080c56d2d06fee1a86552cf965830e2263d9be2de5c201af873f1a2f6b901b873a53daaecaa7360e02a85d0f33c147b0bf7b35da08094ebbe26958a233ae90dd +EBUILD grunt-rigger-0.4.0.ebuild 394 SHA256 99d024e0e4470019ccf937372616c2715fe8692f7a780a6b80ad2fbc24f5bb2a SHA512 f6a34990d4a0824fdb16fa05077d5c13ab3c53db78c5e1351d6e4982b7e74a40b5266fc31fbe23158020e4ccf9928d9b915444c19a2dcd0512f68060c6d4efb2 WHIRLPOOL aaa338b60e738372a91818a334c74aefbcedaf6bd3f70c4aec2d8e0daedfa45fd5f168a712a1c48d5576563fb664b1583c979a843b5c34137a4fb99e5053c6ba diff --git a/dev-nodejs/grunt-rigger/grunt-rigger-0.4.0.ebuild b/dev-nodejs/grunt-rigger/grunt-rigger-0.4.0.ebuild index fcfcdb5..7567b86 100644 --- a/dev-nodejs/grunt-rigger/grunt-rigger-0.4.0.ebuild +++ b/dev-nodejs/grunt-rigger/grunt-rigger-0.4.0.ebuild @@ -3,38 +3,20 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Rigging tasks for elegant includes." -HOMEPAGE="https://npmjs.org/package/grunt-rigger" -SRC_URI="http://registry.npmjs.org/${PN}/${PV}/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/rigger-0.5.4 - >=dev-nodejs/grunt-0.4.1 - ${DEPEND}" + >=dev-nodejs/grunt-0.4.1 + >=net-libs/nodejs-0.8.10 + ${DEPEND}" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{tasks,Gruntfile.js,package.json} ${node_modules} - - dodoc README* LICENSE-MIT AUTHORS -} +NPM_EXTRA_FILES="tasks Grunfile.js" diff --git a/dev-nodejs/grunt/Manifest b/dev-nodejs/grunt/Manifest index 28b46d1..a5e3de1 100644 --- a/dev-nodejs/grunt/Manifest +++ b/dev-nodejs/grunt/Manifest @@ -1,2 +1,2 @@ DIST grunt-0.4.1.tgz 50034 SHA256 f6aea263eb8352843c722864bb84538f1dd68cb4253442dd86a942270807e841 SHA512 80290d5c6a648de929785efffcfa5d6202da5b61914ac1029537fc9bc9b611330f3788a519edcef22abf3903c19fcad74ab36be8f0880aa3a653aba7eb01012e WHIRLPOOL ad1f6e46efe6583704bf5db33bc97910ee50617eb318be84e0d536215927556bdc1a0529077b5e10769ec03fae847db176c3d8e9dc90f2280af59a6d40362190 -EBUILD grunt-0.4.1.ebuild 1356 SHA256 41aff2764ff5d241fcf7f60551b0de657200aa2233c931bef7ee8fdeba8a8b8b SHA512 51afe967fe670d54eb91f4265d39a1d3b159d306abd76d9689dbdefa4074a72ea45e4a66f7e4e4039ca9d74c0c4f627c393b60b378256629cc0102264a427999 WHIRLPOOL ffb6f824aa25336f8c657374f360c98d1ba8c6c2b31352a091090b01bcdfde2222c1c91a83f182c98c7853bed1f2601e3cc5170061013b2a348643d6503819dc +EBUILD grunt-0.4.1.ebuild 900 SHA256 041509597f223ecdff0ac140ea998caf5cc65bd1f47a3ae1c4aff36bdbea693a SHA512 7265c200f0b3d93adf668069241a4a6bb790808b40bbc728f25fa2906880bdc310b584ee695c43fc743ae05e445bcfbfff4f06af2b899fe1687caf96cd7d2865 WHIRLPOOL 375bf7bd79f48507193b5956a6f7aa8609ff57b0c00f4473b51152a789afdf2707b98dac64beddb93cfdbf99fafdfcd9403bb08782e18b4ea09c45a532214704 diff --git a/dev-nodejs/grunt/grunt-0.4.1.ebuild b/dev-nodejs/grunt/grunt-0.4.1.ebuild index c2f1cf4..ab2d62c 100644 --- a/dev-nodejs/grunt/grunt-0.4.1.ebuild +++ b/dev-nodejs/grunt/grunt-0.4.1.ebuild @@ -3,55 +3,40 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="The JavaScript Task Runner" -HOMEPAGE="https://npmjs.org/package/grunt" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="doc" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/async-0.1.22 - >=dev-nodejs/coffee-script-1.3.3 - >=dev-nodejs/colors-0.6.0 - >=dev-nodejs/dateformat-1.0.2 - >=dev-nodejs/eventemitter2-0.4.9 - >=dev-nodejs/findup-sync-0.1.0 - >=dev-nodejs/glob-3.1.21 - >=dev-nodejs/hooker-0.2.3 - >=dev-nodejs/iconv-lite-0.2.5 - >=dev-nodejs/minimatch-0.2.6 - >=dev-nodejs/nopt-1.0.10 - >=dev-nodejs/rimraf-2.0.2 - >=dev-nodejs/lodash-0.9.0 - >=dev-nodejs/underscore_string-2.2 - >=dev-nodejs/which-1.0.5 - >=dev-nodejs/js-yaml-2.0.2 - ${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} + >=dev-nodejs/coffee-script-1.3.3 + >=dev-nodejs/colors-0.6.0 + >=dev-nodejs/dateformat-1.0.2 + >=dev-nodejs/eventemitter2-0.4.9 + >=dev-nodejs/findup-sync-0.1.0 + >=dev-nodejs/glob-3.1.21 + >=dev-nodejs/hooker-0.2.3 + >=dev-nodejs/iconv-lite-0.2.5 + >=dev-nodejs/minimatch-0.2.6 + >=dev-nodejs/nopt-1.0.10 + >=dev-nodejs/rimraf-2.0.2 + >=dev-nodejs/lodash-0.9.0 + >=dev-nodejs/underscore_string-2.2 + >=dev-nodejs/which-1.0.5 + >=dev-nodejs/js-yaml-2.0.2 + >=net-libs/nodejs-0.8.10 + ${DEPEND}" + +NPM_EXTRA_FILES="custom-gruntfile.js Gruntfile.js" src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{lib,package.json} ${node_modules} - - dodoc README* LICENSE-MIT CHANGELOG AUTHORS CONTRIBUTING.md \ - custom-gruntfile.js Gruntfile.js + npm_src_install if use doc; then dodoc -r docs diff --git a/dev-nodejs/hogan_js/Manifest b/dev-nodejs/hogan_js/Manifest index 8ab73fe..15b03da 100644 --- a/dev-nodejs/hogan_js/Manifest +++ b/dev-nodejs/hogan_js/Manifest @@ -1,2 +1,2 @@ DIST hogan.js-2.0.0.tgz 180194 SHA256 8b41a7f236cbde0a06a7565fc8f500654fc66b0ae498c1d28915e18e7d5bdab6 SHA512 bab4ea56f79f6a2bba66aa4855092591bbbab6ea94412bf4a5f8271b4da26de002e19146d118f6b838c7e397947081322c58cfb21d66c607aa77d05895d5ab82 WHIRLPOOL 740075eb502f02526857615ab1cdc0a79a05bb77010a7283dc17a9fe15c0268810cda4ad05eefba0f642520cc8defe58bbcab6bd08e3bca138641019a0b8d3f5 -EBUILD hogan_js-2.0.0.ebuild 817 SHA256 818e27f06b16a21cabb4bddc7a49a6abaf15f4743fedfcbe74d99878ecd22d92 SHA512 4fb4c0557ed19dd6c46a18215c3fd1a86540d3e3fe7d35860df5afa2741765572b9b6a7f8d08c8500ab2c885cf5a951274f29ede4e58f28940f548b85bc6c2d1 WHIRLPOOL b436d312587ec47577ee3aee056a0196f9fb8c5d1f78d1e52b8fe5d8c9738b677940b4414fb4a507b99f02c403ca55188342155f199faa51b039777355b97bd7 +EBUILD hogan_js-2.0.0.ebuild 495 SHA256 ba88914e3d4f4dc552d917f6377b9b4a9f57b7b3a2f78ac0ddffeff52590a44b SHA512 20dda454d375f924bf4c0bb66a49c563c074daf9f854a1e7d479837696be6c7bf51e5421a83e715008d45f508af7b4a0a56ef1eca43126cf5b931c7d201ca78a WHIRLPOOL 19641d87302d5847f6d1608a570184779889d5e733151022c1c79ff0a80620e61f8b71eecbd79d933e8602a3ca91ae537a0a4e7e0646e048ba7d2f5489587f78 diff --git a/dev-nodejs/hogan_js/hogan_js-2.0.0.ebuild b/dev-nodejs/hogan_js/hogan_js-2.0.0.ebuild index 3cd8939..2d0d716 100644 --- a/dev-nodejs/hogan_js/hogan_js-2.0.0.ebuild +++ b/dev-nodejs/hogan_js/hogan_js-2.0.0.ebuild @@ -7,35 +7,23 @@ MY_PN="${PN/_/.}" MY_P="${MY_PN}-${PV}" NODEJS_MODULE=${MY_PN} -inherit multilib +inherit npm DESCRIPTION="A mustache compiler." -HOMEPAGE="https://npmjs.org/package/hogan.js" SRC_URI="http://registry.npmjs.org/${MY_PN}/-/${MY_P}.tgz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} +NPM_EXTRA_FILES="tools web wrappers" src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{lib,package.json,tools,web,wrappers} ${node_modules} + npm_src_install dobin bin/* - dodoc README* LICENSE } diff --git a/dev-nodejs/hooker/Manifest b/dev-nodejs/hooker/Manifest index 2586a0d..261c6d1 100644 --- a/dev-nodejs/hooker/Manifest +++ b/dev-nodejs/hooker/Manifest @@ -1,2 +1,2 @@ DIST hooker-0.2.3.tgz 8673 SHA256 1c8955d9b72d19fb404c5b9ec68cbee20dafc9c93dafe2a2e332218df2875849 SHA512 b7e51eac2b10be24b29802270f4d4fc3e0e7feeb26cf5b113bedd9935fa5c7c7a0f962a90f6ba57305aa1c72f4f9ab1e441afedfebc88621b52b5253c1a21c4c WHIRLPOOL 7e31f0a05c738603c41492dd55b8788634f3f948fedcdc80ef38514f0dea2732006c555609df686b2becd279da08a4df9ff424d45daa1e82cb61b1bf9b34daf1 -EBUILD hooker-0.2.3.ebuild 793 SHA256 ff358547fec97cb362fa607e227c6b801ccc8194cd503b12d38bc56338dd3e4e SHA512 1aaddbddfab1bfaeb5a171af68f7369ab27385a2bd67a061d19c031e9ae67a599842d4c5f18491756f886551a2fd58788c8780c103af641ea8d36cf10fa724ed WHIRLPOOL c137e451360a1a13216b5abdaa078cf2aca02d0f38fe00247ecdc0accb77f5310c77adbd1db2d1833ea2fafeab8fffc04d38f12316b3b605190f52e6b83ab73b +EBUILD hooker-0.2.3.ebuild 359 SHA256 4f09d4cbf598a6dc2c2f52af25ef66b99da58bdc11b77f1aab97dd07bf03e199 SHA512 4401158366048a28b21688bcc17a3a421d4a55f1d20c63ac61eff5220b46cf0a78e87138debfd1a0170e0a162946d2c6c13a6e8919831068d69bf5bf5977d198 WHIRLPOOL fe16dd71500178276de2bed7e7cfa1f9545d200487d0927804918dbe896e4053f56dc97d292ba988447b34d229d3cc33ae0587f40a678fa09398322998985764 diff --git a/dev-nodejs/hooker/hooker-0.2.3.ebuild b/dev-nodejs/hooker/hooker-0.2.3.ebuild index d6a7659..45631ce 100644 --- a/dev-nodejs/hooker/hooker-0.2.3.ebuild +++ b/dev-nodejs/hooker/hooker-0.2.3.ebuild @@ -3,36 +3,17 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Monkey-patch (hook) functions for debugging and stuff." -HOMEPAGE="https://npmjs.org/package/hooker" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{child.js,grunt.js,parent.js,lib,package.json} ${node_modules} - - dodoc README* LICENSE-MIT -} +NPM_EXTRA_FILES="child.js grunt.js parent.js" diff --git a/dev-nodejs/hyperquest/Manifest b/dev-nodejs/hyperquest/Manifest index 00e9230..406346b 100644 --- a/dev-nodejs/hyperquest/Manifest +++ b/dev-nodejs/hyperquest/Manifest @@ -1,2 +1,2 @@ DIST hyperquest-0.1.5.tgz 5996 SHA256 362a20cc5146e9e06f12beec65f4bd6c12444998ba646150d258dd5e57edb707 SHA512 55ccb4430a3286be0834db2c26d115fa62aebb0675d506c6b1002cd382eea16fbaa4eda0e25621e76340610677032023d204ef9eb59d2eb3fe6711b8f4188b05 WHIRLPOOL 5fb212b2f6544bc8920d40f67a5d1bb74c3b16cd11813f9b7325aa128ba2622942d632d808779668872f8e56274926f63deac55f7d39c4bd889995e83a92852c -EBUILD hyperquest-0.1.5.ebuild 859 SHA256 e6d13e19a1e187c1e1d745856ea481dddd8e92ff394ec021feeb565914a1520a SHA512 21fb3659b685729661603ce6627a24ce8590ec742c4a47c0ba5dac99ca1d4d26b6a77822e7d336a750696490088e528903d7e19a716ce13dcf545820220af659 WHIRLPOOL 6a17d45671060530cb30c020eebf86370069dec364ae2f395792e4bcb2cef0720c4ee7afb1c537fb59fa19fc03acd0608d87fc9c93371d15651ca304076d6619 +EBUILD hyperquest-0.1.5.ebuild 464 SHA256 37a27e891563dfd77e5af1b7d6d6ec4df81524060dca9d896f1a27d8283ee039 SHA512 e598652d9e8cf2ac3192acd9d2c36c80e3601dc4772588f98368da174b31143893d068abdc293657264377242970db9026cf7f2e9dbeaa80d65374d2a6aa838e WHIRLPOOL 4bf82f034eae2ef51d84c8948ed47505a04c4271c8bf18113f41a46e41bbc0d6cd8995981cf336b83de96e7d771a14aa5ea925f18523bb8c83b416d6b4857d95 diff --git a/dev-nodejs/hyperquest/hyperquest-0.1.5.ebuild b/dev-nodejs/hyperquest/hyperquest-0.1.5.ebuild index 1197e5a..a1280ee 100644 --- a/dev-nodejs/hyperquest/hyperquest-0.1.5.ebuild +++ b/dev-nodejs/hyperquest/hyperquest-0.1.5.ebuild @@ -3,40 +3,26 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Make streaming http requests." -HOMEPAGE="https://npmjs.org/package/hyperquest" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="example" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/through-2.3.4 - >=dev-nodejs/duplexer-0.1.1 - ${DEPEND}" + >=dev-nodejs/duplexer-0.1.1 + >=net-libs/nodejs-0.8.10 + ${DEPEND}" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} +NPM_DOCS="readme*" src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{index.js,package.json} ${node_modules} - - dodoc readme* LICENSE + npm_src_install if use example; then dodoc -r example diff --git a/dev-nodejs/iconv-lite/Manifest b/dev-nodejs/iconv-lite/Manifest index 8dedbee..ab9b19f 100644 --- a/dev-nodejs/iconv-lite/Manifest +++ b/dev-nodejs/iconv-lite/Manifest @@ -1,2 +1,2 @@ DIST iconv-lite-0.2.8.tgz 234962 SHA256 526d3ccad8d69a4784c3a15a0d482aa7458b419e1bd4a700b1300798cadbcdee SHA512 09f16b3cdc6d5692555b79b9c1146e0d5e9cb4a4151e115d39c8f640966de228249870ceebe2e32ec974731c9f3c0831ff0c9e2344571e0baae909b0b325d2a2 WHIRLPOOL 73dbb1fcfbaf4b72d808fadfb619a480d635fb225faa933296208c80e05b4c0f1aeb7657276f4e2cf3aeac379724a2b1ba31c333fef2a295f87aef052999549f -EBUILD iconv-lite-0.2.8.ebuild 784 SHA256 36c548d30f1e489a03c74bf7d7dadf31738c6a9f48a947aec5f3d2da7c67d07b SHA512 115d4db3f9ad4d047723713971ce3ac419f4cba7000931cf236637f33c9c8e598ff61acaa40b180dadced0f203f4b4833db82421c3182dbad9b2b8a955607678 WHIRLPOOL 017bd3d449920f4c0a648a80d5e10b553dd8a6d4560fd6ec3b5064fec0b1a078aaa25e866f246ed5e7e93f077e4717d2a34251c1b4e5a7892c419faa2c48c68a +EBUILD iconv-lite-0.2.8.ebuild 345 SHA256 ce07312caa71de86238f5046db265482dabffd3ce7c8387f7596d42bda900437 SHA512 c0d650d6178acb5dbdd641542ab77d642412d3a1978f557385b888f58b394dbe5b2e9fc22db73840f10eb0d82b26fb87625ed926f05c97d22bccaa59229314c5 WHIRLPOOL 924b1265f10f4833e85cee0fa6330696ac8a2d9bc7ff29b58779e97c1aa2bce8174fd87bc4bd552ba65cb39c67b667124cde83e8ff29b54f3955867416477b20 diff --git a/dev-nodejs/iconv-lite/iconv-lite-0.2.8.ebuild b/dev-nodejs/iconv-lite/iconv-lite-0.2.8.ebuild index 561ff01..1320508 100644 --- a/dev-nodejs/iconv-lite/iconv-lite-0.2.8.ebuild +++ b/dev-nodejs/iconv-lite/iconv-lite-0.2.8.ebuild @@ -3,36 +3,17 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Convert character encodings in pure javascript." -HOMEPAGE="https://npmjs.org/package/iconv-lite" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{encodings,generation,index.js,package.json} ${node_modules} - - dodoc README* LICENSE -} +NPM_EXTRA_FILES="encodings generation" diff --git a/dev-nodejs/inherits/Manifest b/dev-nodejs/inherits/Manifest index 05b512c..3322cbf 100644 --- a/dev-nodejs/inherits/Manifest +++ b/dev-nodejs/inherits/Manifest @@ -1,2 +1,2 @@ DIST inherits-1.0.0.tgz 1042 SHA256 2be196fa6bc6a0c65fecd737af457589ef88b22a95d5dc31aab01d92ace48186 SHA512 e4a7d71128c201f1507a5d932ea86bd7c344cfef948965480348f01f3b3629bbdbddefabf86fde56145fa196da3c22f43e7111bcae5878c821d363b879e9ee7f WHIRLPOOL b15a77bd10312572f53fd07719c92fe8fa371bd05a5167ec284bb85c8558f2710aed5ecefbcd85f0c10c41c2bbf6ba7fb05615a0b49b5908b97de53ebe6908e7 -EBUILD inherits-1.0.0.ebuild 755 SHA256 80508f59c059ca0a99850678726769cb2965ac9914f4b4488a526f1099a0e42d SHA512 e95c7c1d5b9c55c3c8c9dec5d43ca36fa77e50120e179ad946925cce3bce4df5b45b46e9cef6e0c630ac0b7398894296306c7a57e8c3b5762279d6d550f76cdd WHIRLPOOL 1f5024aac6ce6e10fb3f2d75e7206abacb9ca09d06a19a3cd980ec71b4ef6ac7acba56bde95121b7bc95f026411e3ae066289741a6b112ad8ea4383ddc34eba4 +EBUILD inherits-1.0.0.ebuild 308 SHA256 16d57d9ef09506caa4ca5c623c034be3c11f8b64dfbd8f3f1873471763161e21 SHA512 26f1aedc8bfd6a789f0115f853929663413ccfa183908295a59de417990269924e7eff06983e413dd4184ad7c0cde412ac930a997ba509038668086660598db7 WHIRLPOOL ff9e89be1301c354d5e0bb4edc0cf4d782a7f32a1b8945cae850003f64db306cc1b97ec4c3cd961b30e9cee943ec5f6dad0f20de3a64cc53b2ae988848b2ab39 diff --git a/dev-nodejs/inherits/inherits-1.0.0.ebuild b/dev-nodejs/inherits/inherits-1.0.0.ebuild index 4d88f1f..bcaf723 100644 --- a/dev-nodejs/inherits/inherits-1.0.0.ebuild +++ b/dev-nodejs/inherits/inherits-1.0.0.ebuild @@ -3,36 +3,15 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm -DESCRIPTION="A tiny simple way to do classic inheritance in js" -HOMEPAGE="https://npmjs.org/package/inherits" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" +DESCRIPTION="A tiny simple way to do classic inheritance in js." LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{${PN}.js,package.json} ${node_modules} - - dodoc README* -} +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" diff --git a/dev-nodejs/ini/Manifest b/dev-nodejs/ini/Manifest index a827ab2..f142c75 100644 --- a/dev-nodejs/ini/Manifest +++ b/dev-nodejs/ini/Manifest @@ -1,2 +1,2 @@ DIST ini-1.1.0.tgz 4895 SHA256 307ecc5f8664773587a0d74165d1dbdb226754b638542596b7a1e2ed0a578a28 SHA512 07a2ff8dfc8545c1b676a2a21e08169df6f2e76232d3b89a6c4e05eacad002bfce995281444e6e53e079310fa743b3626278f3f77804361d4686a1f3a4380780 WHIRLPOOL f316c752b1fe60cf6449d6beb12a0f1e05b0d142c3b0ea7ad5470d1ebc592a97a362db8462d62dfade958e207cbf2d87e32b19b39de9cfb4145b90c85be59ecb -EBUILD ini-1.1.0.ebuild 744 SHA256 18f59c58cbdfdb09e4f31944b992fbbbb11c56fedcd4ae2fa2666b3435a547d0 SHA512 ea9ab430767877fbb6c4473c8a8cbc7d15503d3303e876f5fe61c4839ab20b9d240f687526fd82faad7886d4ae0f4d144cd2d76ec63406fd5c5bc165a83e3338 WHIRLPOOL 9f311f715813c1f2962894f10e99b8f69b547996ee42a42a1e8efa63436c0b0f9a4a3e664baf57436e2ec99cd0acb04840f8e079f60a057aab7ea573fe9ae51b +EBUILD ini-1.1.0.ebuild 293 SHA256 ffbd31addcb798e10e77c4a7c3bf236221c973f1adf8495fde9afd66805c7913 SHA512 1f1039705e0ca9a6e204940b08c62a44d2d6fd8828c0f217105b0265cb0202ad406b83834fe44761ebd86dff82ecf047c9bca31029191975ec8e9e1790deaad2 WHIRLPOOL f7e171ab7febfbd9c3ad6205bf5f015af43ee544b70d522da19f49cdb5defb2644ff033dfe2d7b694dc5adc392145fcb8e1b628f353a7fe407a1e823ba87e666 diff --git a/dev-nodejs/ini/ini-1.1.0.ebuild b/dev-nodejs/ini/ini-1.1.0.ebuild index 094a20b..a2a5f65 100644 --- a/dev-nodejs/ini/ini-1.1.0.ebuild +++ b/dev-nodejs/ini/ini-1.1.0.ebuild @@ -3,36 +3,15 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="An ini encoder/decoder for Node.js." -HOMEPAGE="https://npmjs.org/package/ini" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{${PN}.js,package.json} ${node_modules} - - dodoc README* LICENSE -} +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" diff --git a/dev-nodejs/js-yaml/Manifest b/dev-nodejs/js-yaml/Manifest index 1ac3de5..fc15271 100644 --- a/dev-nodejs/js-yaml/Manifest +++ b/dev-nodejs/js-yaml/Manifest @@ -1,2 +1,2 @@ DIST js-yaml-2.0.5.tgz 27642 SHA256 aa921bbb4364458a6be0f774239eed02e39c4619161387a1601384baaeee96fa SHA512 54429c224b1c903054860d894bcef8c55a2e88f932c15521e32c9498b0837b5660ddb09de8cf85d5e18f7a73de1cb7365c2f29a7d1bc6ecba87cad0d784a9190 WHIRLPOOL ead483ff0655cd360938d14debb82d33cace061de45ba4235c85ff11756a7936bb46259217cd41d0413327c3f8763d4341f294094c2a1e306f0af1027a40b4d5 -EBUILD js-yaml-2.0.5.ebuild 901 SHA256 caf09f646255369cce24d8206a684a2115eb6982b73814e89d318a845bd7c110 SHA512 854eb7d9dea03c17536c6bd33b5e59e75ad8cb1a7909f84735ab157f0bf99ce27762252d84f4b039d2f1c44f8523bd4e8b46c257f306ec3998a518ae842390e9 WHIRLPOOL ddf9c51c5831b51f58119be5b34cdc4d3c09e69e2c937a2b4b31bd24343847cf9c104820112f188513e13078ca79100921bde630ecdd38f994d76a06e2586d68 +EBUILD js-yaml-2.0.5.ebuild 470 SHA256 3a72f29e3ae04f51471508fa2e34f20746c7f2850e5584b07621fd9aff30635b SHA512 f168fa0343185dbd478eff6cf66e14865c116d5634c99c2bbe036d5cc03a6b3bde13c35f2487e16f4acc234d37035ae6826fccb960e8e0381e0f036dfdc028bf WHIRLPOOL b26c3368daaf3b2fd998e3f9cde8b7132bf0cb9d3e556dec25ad5539215bf59286b39a794d46d99e7ba91d51732057ab6c99adcdca5746cf91a9ed4ef3c58363 diff --git a/dev-nodejs/js-yaml/js-yaml-2.0.5.ebuild b/dev-nodejs/js-yaml/js-yaml-2.0.5.ebuild index 076135c..1893f0e 100644 --- a/dev-nodejs/js-yaml/js-yaml-2.0.5.ebuild +++ b/dev-nodejs/js-yaml/js-yaml-2.0.5.ebuild @@ -3,41 +3,26 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="YAML 1.2 parser and serializer." -HOMEPAGE="https://npmjs.org/package/js-yaml" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="example" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/argparse-0.1.13 - >=dev-nodejs/esprima-1.0.2 - ${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} + >=dev-nodejs/esprima-1.0.2 + >=net-libs/nodejs-0.8.10 + ${DEPEND}" src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{index.js,lib,package.json} ${node_modules} + npm_src_install dobin bin/${PN}.js - dodoc README* LICENSE HISTORY.md if use example; then dodoc -r examples diff --git a/dev-nodejs/lodash/Manifest b/dev-nodejs/lodash/Manifest index e20d996..f408cb3 100644 --- a/dev-nodejs/lodash/Manifest +++ b/dev-nodejs/lodash/Manifest @@ -1,4 +1,4 @@ DIST lodash-0.9.2.tgz 129982 SHA256 25c0d4305cc28941246190f5ae8d33e0ca3cbd477d6f6a16a640e949992540af SHA512 199d2a114aeffeb63cde96d7361176cfe2ae3c19c2edffeb2638410cddbe949cd6e5fc781f15a70ac2e1887f412770318cdc4806c41885a7640523af2e407b91 WHIRLPOOL 2788fec519f57ea1f1299495e93512f17d50288d3f670a9ad640a9ce7cab6d8adf7cf1dba0c1eeec03249f84685808cbe1b605c9181716f8c3a7e157defb2696 DIST lodash-1.2.1.tgz 332892 SHA256 c7827ba797bf0f9653523486523cc4a578e221aa52a2e6b42011202e8997267b SHA512 1ccb5cd519213472117043afeaebe38eded74bccc0fd71b3635c1decfffa3f734fc72ee853eada81842fcade50fc868b28acc35897e5255e8ce6d14782c38d91 WHIRLPOOL af8dccc402db769fe24f7a774b0dc437b9a554c6ae1fdc23f85957df483e8d05982c0b9569b29b3b934eb1731d9c8c9b07e31d3fd8705ccd28ee7f70f6bf0101 -EBUILD lodash-0.9.2.ebuild 809 SHA256 b474251675d4e309208001a6d0b0af144238386575efeb2ee715280c1234fcb6 SHA512 18acbc8ddb8201ae230429c962e4810ede7de2a803256456fdc441f89d1421df84330b91bbe38b15c7c927afcf9f8ffcda2eaf721a8c9dabef9ace260dacd2c0 WHIRLPOOL cf06046d024fcf840fa858b94291764659b16b9f07ed53fdfcf71bd46b55c22cd1a589a210e37c32896ed7054cf260c7786e8a81a51cbf0379efae40ad54a95c -EBUILD lodash-1.2.1.ebuild 814 SHA256 bf8a708d66eab51c01bed6003945ca4449524c4b807e5e5f69698e4001a7e146 SHA512 124d76631fb094b1a9d1769f3e90b2d783aa199d9a51b9ee8c25ea7a90703c7aed09420b1a6f7337e7e1777b0ea4d1faaa0a9c178fffcaf8c24ffe8fff64ea47 WHIRLPOOL 1e9be39d578e7e6f802155e3522b9f99d70f1591a1c2e7032e3e88c39a874cb722881e3d59f8a888d3d7a0d699abea40b929482ef319a679f4fa17522e1ff396 +EBUILD lodash-0.9.2.ebuild 407 SHA256 9ac5a36ad79a1f18dd39bf1deaf793903db2f9de9cfd28c5258062abcfc5ff3d SHA512 99c49dd1b041fbaecee469888a9db2e5423eb76a57fab8fdc07889e877478f784404c5435801e7b9e2fd5d2a18051220c737b0c777b954f63baf71ed45016d27 WHIRLPOOL 3e50115b2c382cf415f67e0c7ba15a3a70f3958e004c20952e2b2398a4fa58f5564f2646305e3bff85506e1382e91c2ee7bbebce76a0523bd27639701d36068d +EBUILD lodash-1.2.1.ebuild 401 SHA256 5c8f8cabcea6ae91bae9d7351ad533331db3b421f4df8108fbc0753ebd3254c8 SHA512 66746e4f69f283437fcd35f41ebaaabb7cff3d416ddfe61db490a1b82303f9231482c6ffb53c92080b8608428a186ac7701fe7ce427219d590ade3a036d69963 WHIRLPOOL e80eeb340f7af17c198a5c85953f2d689fdcf3c3364e9451edd373278bcf027606c2ed2a7a8d1d4115c6a730becbea0dc59091f3f6cf688c8cb335ecc3dc9e31 diff --git a/dev-nodejs/lodash/lodash-0.9.2.ebuild b/dev-nodejs/lodash/lodash-0.9.2.ebuild index 9aee409..a2296d5 100644 --- a/dev-nodejs/lodash/lodash-0.9.2.ebuild +++ b/dev-nodejs/lodash/lodash-0.9.2.ebuild @@ -3,37 +3,18 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="A low-level utility library delivering consistency, customization, performace and extra features." -HOMEPAGE="https://npmjs.org/package/lodash" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{${PN}.js,vendor,package.json} ${node_modules} - - dodoc README* -} +NPM_EXTRA_FILES="build.js build ${PN}.*.js vendor" diff --git a/dev-nodejs/lodash/lodash-1.2.1.ebuild b/dev-nodejs/lodash/lodash-1.2.1.ebuild index 5bab6c4..d74f688 100644 --- a/dev-nodejs/lodash/lodash-1.2.1.ebuild +++ b/dev-nodejs/lodash/lodash-1.2.1.ebuild @@ -3,37 +3,18 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="A low-level utility library delivering consistency, customization, performace and extra features." -HOMEPAGE="https://npmjs.org/package/lodash" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{${PN}.js,dist,vendor,package.json} ${node_modules} - - dodoc README* -} +NPM_EXTRA_FILES="build.js build dist vendor" diff --git a/dev-nodejs/lru-cache/Manifest b/dev-nodejs/lru-cache/Manifest index a8325cb..63f1c25 100644 --- a/dev-nodejs/lru-cache/Manifest +++ b/dev-nodejs/lru-cache/Manifest @@ -1,2 +1,2 @@ DIST lru-cache-2.3.0.tgz 6617 SHA256 fbb1a14e0314095b7999a3a7489c92983f3d95b188857af697487ac8a778e942 SHA512 5f204260bd244d92cd2058f8f260147b54343d32ec3a51f8724dd884733e67601a8bc6842e7e9ba9cf887a1e20a5a37776276eab9034e9668dcf642afbc46e30 WHIRLPOOL 29366c676975865295ca40bce37c0ef5a269995d6cf48d1d78c682a86f37b2237080f79019b0765173299b504456ba6e534217b6de82a9d71636bbc6b09fce1a -EBUILD lru-cache-2.3.0.ebuild 779 SHA256 dae657d36b51a1eb567ff67f9a93ff0e10f14df86b784deb2bc855258589ca96 SHA512 e6f30b86faf680b48e32c74fae1dd7101a52631bab841d9c337b09aef45c757f1415871fa09eb607f098bf2faea540bce0ee9c5ece3fde14be3722ad0686aac1 WHIRLPOOL f9cd0f1ffbb973a9e4d1f2758e9fe9611ba646fe2e066f127996c5e69020d5f45f20cf023cd556c4c0c889d5fd94cc6698c7b98e0f79ef112fe23afcdd976fc1 +EBUILD lru-cache-2.3.0.ebuild 346 SHA256 4ff0d595c148a533ca49ff00fb081cbfc3889333b96688eebeed99538b61ae7d SHA512 f9032860c7d4ae1caa4ad05030a66848688c0c4b52368b4fb05644d41e2f43872a2df827522db5e54aa31a97804dbb783d630d17ec7f170676a65a3c69fbd130 WHIRLPOOL a849be263d769553080cf6ae9475085834bd17bcdbbd9abc97cdbe2cf7b7e65b48c3766083b4b938c7be984964e862d74d2b7ed5ed3334251ebf609955e1b642 diff --git a/dev-nodejs/lru-cache/lru-cache-2.3.0.ebuild b/dev-nodejs/lru-cache/lru-cache-2.3.0.ebuild index 77e0815..207aa03 100644 --- a/dev-nodejs/lru-cache/lru-cache-2.3.0.ebuild +++ b/dev-nodejs/lru-cache/lru-cache-2.3.0.ebuild @@ -3,36 +3,17 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Higher-order functions and common patterns for asynchronous code" -HOMEPAGE="https://npmjs.org/package/lru-cache" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{s.js,lib,package.json} ${node_modules} - - dodoc README* LICENSE -} +NPM_EXTRA_FILES="s.js" diff --git a/dev-nodejs/minimatch/Manifest b/dev-nodejs/minimatch/Manifest index 61757a7..e791402 100644 --- a/dev-nodejs/minimatch/Manifest +++ b/dev-nodejs/minimatch/Manifest @@ -1,2 +1,2 @@ DIST minimatch-0.2.12.tgz 17459 SHA256 205cff8b4ba926e86ff0e6f7f566553906113892028083ea221989a42500c246 SHA512 8de55d7ca9a5a262deadff1e71eb52afa80b4b43979cb465ba19eff517f6ca3ef436c0fcb951aaae9c13a8918aa4817c553451f5f40097ad8267578d204324dc WHIRLPOOL e61e756a2de81eead7a73d2ce9f7856d775106036ed5ac97f16f605d6a9a7dce3a8e1d13b7320bfa8f9be929c8eb69c4550882635662b64104fdf11f74f95b9e -EBUILD minimatch-0.2.12.ebuild 845 SHA256 2543fb96f576745ed991e6ad0dfac75289c47f6e2975e9661e2ad55d0c5335ee SHA512 20c62248dfec8c6eaa517cbfe334cc9502fcdc34a2b29ed300c8abf68412455b2529fbc464c6abc7aefcb2c17b73fa3f93844a36c5d6936f31b755273db23072 WHIRLPOOL 84567eadc3e23e910ab02885216e42948c49135396bd069fe8f36b72d129b8a8511b2a466a5a52fe7049da8c7539bba40ec8fd5024c3ac77c1713c15bce1adcc +EBUILD minimatch-0.2.12.ebuild 391 SHA256 abccac12f3c300215795a69af18e21ce99d106392bea33740644bbfbd874018f SHA512 2f4406f9422cecc1f9d11b465d81fe22945dc0cb3eb05839a6ccd78c9c85da9a4e2e55b992a2f170ddc0cf1e9e84e55862f5507620501e811a55eb21ae24288f WHIRLPOOL c80221015239de7dda1344b811c2f1e5ab69490789c07660923fe2507f5c1896aee139088acbc778c777719c7be9bb5ebe6ca3e0632cc36988cfe684b0ca82fe diff --git a/dev-nodejs/minimatch/minimatch-0.2.12.ebuild b/dev-nodejs/minimatch/minimatch-0.2.12.ebuild index 5492d9d..938fd92 100644 --- a/dev-nodejs/minimatch/minimatch-0.2.12.ebuild +++ b/dev-nodejs/minimatch/minimatch-0.2.12.ebuild @@ -3,38 +3,18 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Higher-order functions and common patterns for asynchronous code" -HOMEPAGE="https://npmjs.org/package/minimatch" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/lru-cache-2.3.0 - >=dev-nodejs/sigmund-1.0.0 - ${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{minimatch.js,package.json} ${node_modules} - - dodoc README* LICENSE -} + >=dev-nodejs/sigmund-1.0.0 + >=net-libs/nodejs-0.8.10 + ${DEPEND}" diff --git a/dev-nodejs/mkdirp/Manifest b/dev-nodejs/mkdirp/Manifest index 8331719..8cbc33b 100644 --- a/dev-nodejs/mkdirp/Manifest +++ b/dev-nodejs/mkdirp/Manifest @@ -1,2 +1,2 @@ DIST mkdirp-0.3.5.tgz 4162 SHA256 8ae9c5107acb41110106224f5e7be2b50b00d15d062ea7941301c111b863fd26 SHA512 f0e0aad037bf87d671b1eab3087f0ac3f16295fe6917fbcc23af811fb2eed235f3da9a980a34c0411a254b14488be031fa80828e5c6824c3f4610e1796b40d1e WHIRLPOOL 323497b5d74bebf9eb5dfa93e8f2e9942cae63cb6a1a99afa31ba2527697444c851498c2e22e8afd588bab361e291aac140308eb2b4c500fdcd5af288ba115d2 -EBUILD mkdirp-0.3.5.ebuild 799 SHA256 d4bb0c964731ef914f9c79119050ba844133b583c0a77707906f58497b1b54b4 SHA512 f19c1f8ecc1cf74cb4f3eef7fdd4a4e607684b7ee0bc4ec2e8fb8f3eab7f29d222e96a7bda81f3c6ad28f2ff4bc25218ce04a39151b10fada2d66008425a09e4 WHIRLPOOL f739dfb8e4fc9cb6d8d67571610683000778526d191d22156ecc79439f3ca1b9af01c2235995b759010df0432a392e048e41a40604605fa8ff3241cca807810a +EBUILD mkdirp-0.3.5.ebuild 382 SHA256 d8b38e925424f749767bb2b111ec11c9b71dda6825083e5de50042965c1f4db9 SHA512 d2a9c033284b0d79f6eeb5d41ba23985bc20fa59954e9c0e3c77a58b11dbbf491893198039648f6dbf3df3df16c93b8b205f629e8db08e5ce0f1b05a926fcdac WHIRLPOOL 6338aefc86d38c11c8160f676693418dcef3fb4ff54dfaa106b0ca52045375d51002fd3af8679c46f0bd0667b6aeeb9099de2d854a96482a5723ccf9e47a9318 diff --git a/dev-nodejs/mkdirp/mkdirp-0.3.5.ebuild b/dev-nodejs/mkdirp/mkdirp-0.3.5.ebuild index ed6e3bf..5b7809e 100644 --- a/dev-nodejs/mkdirp/mkdirp-0.3.5.ebuild +++ b/dev-nodejs/mkdirp/mkdirp-0.3.5.ebuild @@ -3,38 +3,21 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Recursively mkdir, like 'mkdir -p'" -HOMEPAGE="https://npmjs.org/package/mkdirp" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="example" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{index.js,package.json} ${node_modules} - - dodoc readme* LICENSE + npm_src_install if use example; then dodoc -r example diff --git a/dev-nodejs/mute-stream/Manifest b/dev-nodejs/mute-stream/Manifest index 3362fae..cc1a621 100644 --- a/dev-nodejs/mute-stream/Manifest +++ b/dev-nodejs/mute-stream/Manifest @@ -1,2 +1,2 @@ DIST mute-stream-0.0.3.tgz 3308 SHA256 7bb2401ad9afaa6f04bc1d2d9411a6e41d7a6198de929d4522e95eeae78b1082 SHA512 c8d443657c5b944a0ef522841263c1d1ec19a62cc124c729ba3ccf234bc815eb02f21ca4e50a5b2328dc6f2ebcd3873b715b9d75c3712da6090d037f83bb1151 WHIRLPOOL 4b077e9e52c7a22b8a238b74956ba8837b7818842491a98e2459acd6120e2d8f33e5012aa4ed67365bbcac4dd54b6b55a9d5b896b36798a9687e6b4b172e9a1f -EBUILD mute-stream-0.0.3.ebuild 776 SHA256 1349a64809bb678aa7b5d5bd2ce05fc9d9e28235d4f7441fb80abe8e57543c53 SHA512 b37fffb21297829bb30357a73f315292cecad807bccc618fa01ef6cc12253a07d839e6d3332f0108cb5067678177ce7feebd48cba24c2eb54f9bbff9d5232c49 WHIRLPOOL 5f53d2ce41d733f2026db1856a9c15b2674929b6632e73a87b05d7f4e65049459947a062263efe8351603c976af26cfeb1bc88d4fb07c578f88575ca30d8bb57 +EBUILD mute-stream-0.0.3.ebuild 345 SHA256 3879efcb50f337bd930c90284b5b981f026ced0ca8205f6373251366461dffc9 SHA512 71309aab9376940c1ccea189d514670461badcf3abe8a9b8ab800877975fd82646a50ce03c704daab6dbdea6fa64e685227b9dc690b64de6486a118b6b829fd0 WHIRLPOOL c43257c16f75acb2af67f06ba05fce7eaba94944f2611954e7a6d2ac1c42e287b44f2d59e784f69be3d6988f4a97efb60e4748391d7e728672a7ffde375b17a5 diff --git a/dev-nodejs/mute-stream/mute-stream-0.0.3.ebuild b/dev-nodejs/mute-stream/mute-stream-0.0.3.ebuild index 5e74fc6..560dadc 100644 --- a/dev-nodejs/mute-stream/mute-stream-0.0.3.ebuild +++ b/dev-nodejs/mute-stream/mute-stream-0.0.3.ebuild @@ -3,36 +3,17 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Bytes go in, but they don't come out (when muted)." -HOMEPAGE="https://npmjs.org/package/mute-stream" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{${PN/-stream/}.js,package.json} ${node_modules} - - dodoc README* LICENSE -} +NPM_EXTRA_FILES="${PN/-stream/}.js" diff --git a/dev-nodejs/nopt/Manifest b/dev-nodejs/nopt/Manifest index dda2fe5..266e823 100644 --- a/dev-nodejs/nopt/Manifest +++ b/dev-nodejs/nopt/Manifest @@ -1,2 +1,2 @@ DIST nopt-2.1.1.tgz 9648 SHA256 a7a84f3fe51cb8fb97c678bc73130b53d6782ee90dc0e9b15ae39630ce2fa203 SHA512 88a7da85329825b2a5bf525e215d14153e64ccd75b78a7ba018ebd1905a6f5f78912cdff7d94248ecd9f0f0dd3ef8f783c35dfe54d67bb5868ab091170bc9c03 WHIRLPOOL 99df733323dafd42e8b4acf1adb12f1590e98e7a1cf0ae6b5466af9697d4114591864a155ccd6f39378eece3031bf56ea3fffc02d8e1c2ecdca28f872186d06e -EBUILD nopt-2.1.1.ebuild 812 SHA256 4ca7f6e83ee3944bc2b631e20b4b014f75abb83364fb1c57f39449ad51edf022 SHA512 c2092e44a9e3682c064cae3734084a4c55f27c2e87065c265d733692bcdfee8572555bbc11801821680a87f0705b43786dc4d2054d19d3039729e363200494fa WHIRLPOOL 58cb6a21299afa9df14df0ed56ce99a104f301321d4ce79afc4601a4ebc803bc3b9203d7520441f7d1048b49b83914751587dc981919a2af6bd63b1fea819416 +EBUILD nopt-2.1.1.ebuild 411 SHA256 7c5cd20defd292be8671a28217633e512e693e4fae0d8f28a60f0d20e81441b4 SHA512 9eeb6160d417e5ff6766913ae548a752517821a70bb925ef55049e8c2a4ee05559b7dfea363f4e9b4edd30ab5df7b29ce0c5743729e9daaa554c909f1f3b6d16 WHIRLPOOL e944b9e45f38783b381f46c68bfc1fa5b71b53c613ddeaa30aa43e7391644a01736ac3755720ef326613fc7eff63e77c10a1b310bec107c499c632b337c793e3 diff --git a/dev-nodejs/nopt/nopt-2.1.1.ebuild b/dev-nodejs/nopt/nopt-2.1.1.ebuild index f2dfca9..470f277 100644 --- a/dev-nodejs/nopt/nopt-2.1.1.ebuild +++ b/dev-nodejs/nopt/nopt-2.1.1.ebuild @@ -3,38 +3,23 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Option parsing for Node, supporting types, shorthands, etc." -HOMEPAGE="https://npmjs.org/package/nopt" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/abbrev-1.0.4 - ${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} + >=net-libs/nodejs-0.8.10 + ${DEPEND}" src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{lib,package.json} ${node_modules} + npm_src_install dobin bin/nopt.js - dodoc README* LICENSE } diff --git a/dev-nodejs/noptify/Manifest b/dev-nodejs/noptify/Manifest index 44518f9..3bc8808 100644 --- a/dev-nodejs/noptify/Manifest +++ b/dev-nodejs/noptify/Manifest @@ -1,2 +1,2 @@ DIST noptify-0.0.3.tgz 5911 SHA256 a2c2fca7e79ae19f9211bcb36d2c786738d0320440727e52329eea2555517798 SHA512 1194f7e6bf40b8afa18a0fa262fe35e389307c31038658f7ce77151f0f5bf5df3a4d4624ffaec1b4102991f3c3d64b25013ffc4d30f6eb6c5db156d5fa20924f WHIRLPOOL ecd52c7254e3a284816551c59db518b104a9950945b37fa40451623f279382821ba3d6205cf522d2036c93bcd77df0d233e73d99a8c63289acd44ff98e3ae689 -EBUILD noptify-0.0.3.ebuild 781 SHA256 3298e4b6553b09a2f54b8cbaeafd07311913ec0c180413b51a63a49179924377 SHA512 114b7912e73515092dd52c35310b11c233ef592b41dfb90e8deaff540c710d411ca2b2d521bedd2b0a98f4298d391f73a7ef42c2d602a48abfa11fd17c844e87 WHIRLPOOL 36c640633b0cca3a347f7ad5caa83190ec00328376908947ab6c1ae912007c152932f656fe2972680fd81e008a5c46377387639d5e52438e1d9b72e0f7493827 +EBUILD noptify-0.0.3.ebuild 362 SHA256 8a99dfcf8529d069388f791a153d81af18a52e6ae26b9c6fb887471a49a7ad8a SHA512 55f174bc04ddf01659941d30c8306fa4be349f3f61772307a51f5ee7f75282a7d304d0f635f461d31a16ba797052548e32cb448bc8656892f22471834deaf648 WHIRLPOOL b60ad88784bc89f2621b0e59e52b0387fcfef5dc11759c40f5252efba796864604bc281264fcf22d879b9fe5d031f7146c9c42f68a5798e1da8d442d398c6b29 diff --git a/dev-nodejs/noptify/noptify-0.0.3.ebuild b/dev-nodejs/noptify/noptify-0.0.3.ebuild index 40e3869..311c163 100644 --- a/dev-nodejs/noptify/noptify-0.0.3.ebuild +++ b/dev-nodejs/noptify/noptify-0.0.3.ebuild @@ -3,37 +3,19 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="nopt wrapper with commander-like API" -HOMEPAGE="https://npmjs.org/package/noptify" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/nopt-2.1.1 - ${DEPEND}" + >=net-libs/nodejs-0.8.10 + ${DEPEND}" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{actions,index.js,util,package.json} ${node_modules} - - dodoc readme* -} +NPM_EXTRA_FILES="actions util" diff --git a/dev-nodejs/optimist/Manifest b/dev-nodejs/optimist/Manifest index 040956c..da88a39 100644 --- a/dev-nodejs/optimist/Manifest +++ b/dev-nodejs/optimist/Manifest @@ -1,2 +1,2 @@ DIST optimist-0.4.0.tgz 12765 SHA256 bbbd3c9e8c1e8f59e7097271a78fa628c6dc76de894a02fc625872b72bc99555 SHA512 bffb9e16a8a08701107809f0f192687ee12c1c3bc08941b27e88ed25d2aeaf17782946a7ce7c6f2bd849a1c6b15a99fe9c001bc53038a9f87ba2b60780d64858 WHIRLPOOL fb5a34a697f4bca6d47ad9cdbbf0577f32d3cb08cb514176ad8b3d6e0a171859b8421a7b6a3515137ed3a5b9824bbf4c7c86a161c892eb531240945469ab4357 -EBUILD optimist-0.4.0.ebuild 857 SHA256 8db71977b6647b6053257107658f558ee0cbc1c87d5ae91d91b3a1e88ed8083a SHA512 af200ce7317907bb430c3536976e842a2fc619a75dfc327cc5fb0ec9c135ec7438463252ce42b54b95611a5fc24e921ef6147ffdaa013d1acfb0aff5b491136e WHIRLPOOL e8519b42317ab3cff6317ed322c5cd480e8cf11d5a734a923a33e2b7c581a5a570102cd716ce1ce31c3f2b6841b650ffab331701ed3fb391888e6a3124cb65a5 +EBUILD optimist-0.4.0.ebuild 470 SHA256 388d9bf36d0d373851b261e3f0bf4af8b1c48c330e3d4df686a387f3055a4ede SHA512 fd8a8e9ebf3edb127e24dbc7e9720a83734ce1095498300139679fca73078a83733fb8af2d6cfb160a9aed4f96d38345dfc989f7e9e7216157a25e6a33e55637 WHIRLPOOL d66ad3c4a0ca5c2c58c915fda638e2c2ffc14447a63ce3f427d03e1b7392413d1251bfe46270e1a758ff116e1feffb034e416fd8ea50b3f544715adb459b6102 diff --git a/dev-nodejs/optimist/optimist-0.4.0.ebuild b/dev-nodejs/optimist/optimist-0.4.0.ebuild index e7f38d3..ab90f97 100644 --- a/dev-nodejs/optimist/optimist-0.4.0.ebuild +++ b/dev-nodejs/optimist/optimist-0.4.0.ebuild @@ -3,38 +3,24 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Light-weight option parsing with an argv hash. No optstrings attached." -HOMEPAGE="https://npmjs.org/package/optimist" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="example" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/wordwrap-0.0.2 - ${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} + >=net-libs/nodejs-0.8.10 + ${DEPEND}" src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{index.js,package.json} ${node_modules} + npm_src_install dodoc LICENSE diff --git a/dev-nodejs/package/Manifest b/dev-nodejs/package/Manifest index ada85dd..9fd6db6 100644 --- a/dev-nodejs/package/Manifest +++ b/dev-nodejs/package/Manifest @@ -1,2 +1,2 @@ DIST package-1.0.1.tgz 2774 SHA256 ac690349429d4db7876f62a94b0c69dfab4c83321a6c4d7397c4061303c5a3a6 SHA512 83ac5947a08eee892389ef37b08449a1d806bda5eaca67c4e462e137c3764e66464a198773f576de13bfbd66dd9eecb70fcd40b37a5fa2fc3bda01a2e3697da8 WHIRLPOOL e02f082a9e4702a4b1980ffd57c371eedfb606c52a43362219c062df45ab25fd1785d93f133f11bbd4e58578d52732f2c9ce46cec86888398e69c480ff992e94 -EBUILD package-1.0.1.ebuild 793 SHA256 02b7bc8bb3f02c32fbef2ba11b2b1cc4ded54f58a2b5e9400451b271c388f874 SHA512 a54214951549b3151e73c721fe0d94ce2dbbd3e7adf9a2051478c51ed7883bba50ceb35a4ff5b7f4189acb6d88724934cbc45666d3e64e936b20a2eb4ed4eef0 WHIRLPOOL f5dc5ceaab2e6af78626bdb623c2fe8687b73c9d0dce75b6efd6718ade6661ac04b3ca6b68e93f03fbc2108906ac1d3d5d932d9010bf9127c460860d72e1de93 +EBUILD package-1.0.1.ebuild 373 SHA256 b6ace133907a6f1c931384ce1b5674e47f539711fdca9e838087ba0f173ac5e2 SHA512 57e2a3f128b9a07938b4cb0bc51fd0303da89d8ef407a91703f676a8f52ad3668ae5abcfe2efd49c84e7ebe7361c340077428812a4486bdb064dfddd4dc688db WHIRLPOOL 3bf09c0b48b4af2ec49c40b26c1f240c7350397b82fa75fc9210e80d3bf47370f13e025381bf050282005de31c093f21c1b9533bf178b205bed6829a68d9b403 diff --git a/dev-nodejs/package/package-1.0.1.ebuild b/dev-nodejs/package/package-1.0.1.ebuild index d5cb929..18899b7 100644 --- a/dev-nodejs/package/package-1.0.1.ebuild +++ b/dev-nodejs/package/package-1.0.1.ebuild @@ -3,38 +3,20 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Easy package.json exports." -HOMEPAGE="https://npmjs.org/package/package" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="example" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{lib,package.json} ${node_modules} - - dodoc Readme.md History.md + npm_src_install if use example; then dodoc -r examples diff --git a/dev-nodejs/promptly/Manifest b/dev-nodejs/promptly/Manifest index 1e09a51..1b7301e 100644 --- a/dev-nodejs/promptly/Manifest +++ b/dev-nodejs/promptly/Manifest @@ -1,2 +1,2 @@ DIST promptly-0.1.0.tgz 5218 SHA256 e41e726fa8588fa4950b1cf24270616262bb13aac22ab705b44ab1c69ecd470b SHA512 7856fe17e0fbb6db1480e7d45b98f156119ab9a5930059bf9d0fce5d3681e08a0fdbc372f47f3ed387332e5d99804bbd22f0211d198603117ebda64a59de2787 WHIRLPOOL 4e2dda43ed3d67455331ba57a76a9350c1359e171a21087d262d174ab8c9a8065047a0f56b0411637e6adf4223436841f3cd4d11476dd47032e6f049844633e1 -EBUILD promptly-0.1.0.ebuild 779 SHA256 4b0ebc1a46cecbdec619d72b63346751d27212a07200d64e1912eb411e055183 SHA512 30f3e4102ea4796c24ba3f31ad63f7d22cdb4ec441948fdadb83c47dcbb631d528086a00c06fdfd397c0b3bb417c85770edbb4967afa7376fd096932e71e6d6d WHIRLPOOL a5f9e8ef85278ed8734c357b2fe924ab70827903ea31aa277a89f113f27a679cf432e09533ab27cca35888fe56ea4841eb46d15bcb6bffecf213b31ad4ed751c +EBUILD promptly-0.1.0.ebuild 332 SHA256 0f9ba1ae690bc9ebac0692635bedd5909143f1b4381228bd7dcf1fc838d11631 SHA512 65fa264262e539d3d8fc56bae223ff0d8b09af75735c499b8095d17ef58ae575c6c1f5350c18ba04501a7b45fc0a8fb6f8c06d3ee7622f2d0e654cf824861a58 WHIRLPOOL f07373a8fe9e182660419075f8979a7574be5e5d24dd4e71414d521ee2e1adb4fca5f530e461d743232d35b5b38b5e73940636888a5d25e09cd1a8ff7073171b diff --git a/dev-nodejs/promptly/promptly-0.1.0.ebuild b/dev-nodejs/promptly/promptly-0.1.0.ebuild index de5aa33..40c0a05 100644 --- a/dev-nodejs/promptly/promptly-0.1.0.ebuild +++ b/dev-nodejs/promptly/promptly-0.1.0.ebuild @@ -3,37 +3,17 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Simple command line prompting utility." -HOMEPAGE="https://npmjs.org/package/promptly" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/read-1.0.4 - ${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{index.js,package.json} ${node_modules} - - dodoc README* LICENSE -} + >=net-libs/nodejs-0.8.10 + ${DEPEND}" diff --git a/dev-nodejs/qs/Manifest b/dev-nodejs/qs/Manifest index e569cf6..9affd19 100644 --- a/dev-nodejs/qs/Manifest +++ b/dev-nodejs/qs/Manifest @@ -1,2 +1,2 @@ DIST qs-0.6.3.tgz 3780 SHA256 98026b06df34f78c3caa16ed08dd6f36c851cf9bc83c549c502227d0aa1c70af SHA512 788f9993c595765fa8e443b9bd773036f6be61f2853263cb0b653a93330b943a82dfe48900819a0e79db05fd9aed14d4a862a30815692d0ec766f7d4bbc62c57 WHIRLPOOL 02d12cc55851dfe28bee9f104a3b5cc26846e65df960485946f087967f8fcc8008de2dfee3aa76942a8f8f45d78e03eed899970f443022ca411a705f106b5117 -EBUILD qs-0.6.3.ebuild 718 SHA256 75bfb5ba3f3d71bf25a51f4c024d519f895bbe6e8c8af13d307ef0ecfa575435 SHA512 65509c9595db5dff485af8e2bf87b24e079195ce731aa34836fa92fea9b1374dd76c40d0a502247f5c620c43ca5998d65df795a6ebd2b46cc2ba421758706dc7 WHIRLPOOL 5b5d9362c523b77d228f908d97c2e7345b9eb6603b57a5de2efcd5d6f0a834cda8296ec59bef9610acbd3f3ff149f45ec698b6b5908065a093a4c5811f321791 +EBUILD qs-0.6.3.ebuild 276 SHA256 c0b1ad1121301e748ba1205ed6cb1de0c40af470aafa67d9f39b75b2f4869f55 SHA512 e72e9deacc8cf762c0ba65ffad3fcbe5f15653a0a46df7d0b978a6aca53b255305e09acb914f183b9e037942d5cca6f09b22b918dfec95d838e1795b2c5bc43a WHIRLPOOL 9f181d1f34f1ad5078cd964a35263098e1a0a58a0ccb7d8c19667884abe2e1d334935cde4cb8cad93e1898bb7dfa527c397305164aae45d68a459f85501d3ba5 diff --git a/dev-nodejs/qs/qs-0.6.3.ebuild b/dev-nodejs/qs/qs-0.6.3.ebuild index be7b1f1..73d6ae2 100644 --- a/dev-nodejs/qs/qs-0.6.3.ebuild +++ b/dev-nodejs/qs/qs-0.6.3.ebuild @@ -3,36 +3,15 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="QueryString parser" -HOMEPAGE="https://npmjs.org/package/qs" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{index.js,package.json} ${node_modules} - - dodoc Readme* -} +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" diff --git a/dev-nodejs/rc/Manifest b/dev-nodejs/rc/Manifest index b06fbca..e10e9c5 100644 --- a/dev-nodejs/rc/Manifest +++ b/dev-nodejs/rc/Manifest @@ -1,2 +1,2 @@ DIST rc-0.1.3.tgz 3889 SHA256 9733c6aba5d4661323b8610689f46858c609c4d3fb9fe862889fce9d4fde2b1c SHA512 5193c824644924fd531091fa34e2730ac3133fdbf99ccad8b9b2d89fd826c81d433cf355481188ef80e458bc318cd72a0c9eac1f9f6d27a5d2e21c38058c4d24 WHIRLPOOL d651313928132cddc4acca2c9a73502304dc456b1b9df7a430142c77a48ee0da27e9f7d64258bd2c352be71a06580e31dfb2411d4fab62288d978befda9dcb6d -EBUILD rc-0.1.3.ebuild 850 SHA256 e9a32fdfa16d0f84420298f54e9edfd333faa6ee308645699c15ec9f5b211a63 SHA512 87d373d90db2e5ab9877c3fbb48cdefe56dcdbc6b783b85a05f5fa28cd7b72beec04642c3fe93eeda8e853122dfad247fe9d54fb972d0a1077f511dd279d38bd WHIRLPOOL b831588c65aa3754dbb45881b8babd56eecbeacadbd10b9e59804f2d449104c948534590fa9899b123f3234e22737c441381d6d4309b7b40ad38c8dd33e4a1f6 +EBUILD rc-0.1.3.ebuild 416 SHA256 496cddfcf85d300b6ab9c854993080045786822d24d87fc50673f85d3df2d446 SHA512 18e9b29b61d4d19bc220ac9a1cded820abf43fa2b323b6434bf11f0aafa9eb3d60e673197287bffc809d9f1ada6f3b6dbe932ebc4516cdaa12a2cd5e7e6b1d3a WHIRLPOOL 1adfada37e40f2a14d15982eb88ccfde351668984e9e41cb6ccdf0fa3e1537e60ef35211174c4e83a9e60e0f769e3cb09adf4ec4c80dd55a379bb0243441a08c diff --git a/dev-nodejs/rc/rc-0.1.3.ebuild b/dev-nodejs/rc/rc-0.1.3.ebuild index 794a4b4..94c9a2f 100644 --- a/dev-nodejs/rc/rc-0.1.3.ebuild +++ b/dev-nodejs/rc/rc-0.1.3.ebuild @@ -3,39 +3,21 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Hardwired configuration loader." -HOMEPAGE="https://npmjs.org/package/rc" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/optimist-0.4.0 - >=dev-nodejs/deep-extend-0.2.5 - >=dev-nodejs/ini-1.1.0 - ${DEPEND}" + >=dev-nodejs/deep-extend-0.2.5 + >=dev-nodejs/ini-1.1.0 + >=net-libs/nodejs-0.8.10 + ${DEPEND}" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{index.js,browser.js,lib,package.json} ${node_modules} - - dodoc README* LICENSE* -} +NPM_EXTRA_FILES="browser.js" diff --git a/dev-nodejs/read/Manifest b/dev-nodejs/read/Manifest index 5e7364d..3f0e170 100644 --- a/dev-nodejs/read/Manifest +++ b/dev-nodejs/read/Manifest @@ -1,2 +1,2 @@ DIST read-1.0.4.tgz 4154 SHA256 8be269afeaa7cc62feb4672e8e61e5133152266dc5347b23cf5b05bc40789601 SHA512 1cd5b2db585dc8cefe091f8371bdbf549cbc8cc607ed065f40d94208c43fe9f0201ba187949ef09fa7a24f3435f84eb29f4608c6c2984443a5b99be8cddd434c WHIRLPOOL 78fa667fd79d47739f547535872f5721ce88bbf7661ffce02cc4d7f48e24d15b54635a986023a087967d4c148929aa107d401bcc3add5114a1944122414e7040 -EBUILD read-1.0.4.ebuild 819 SHA256 de0b6e265d7ac7df02ad7d13da3aa9c3b6f34124703f704734b6240aa1fbead3 SHA512 3565bff6d36d6f8754561541c9ed410749f6bc2efb7854d0481e9e44f5d161d5907b752a00f6c3c925ca4dd192dfdecc60b05758a5943a86f7e30416b6e1f16d WHIRLPOOL d735c29c803217edbdc711959524feee3efbb467d7f896cb772f5f2925dc4cb6e4146127facaa7d62f59cdda6a1a429643bf00504b33b4b65843a01fdbe58e65 +EBUILD read-1.0.4.ebuild 418 SHA256 ae6d64e7aaaa3bb466a3473332ab123917d804bd7814c619c554090431c39c7b SHA512 aff37c6b9e1d00de6f72bc43a1f85932a0781ce0a1d1ed01539eeaebc9b726ab79e362851e333183780cb9f31d9e12a8e68e40db3f6dba3c365404738c29a732 WHIRLPOOL 9548b95c6d5e51128abfd15b4c92b5459ed9784519a3090dde3e838e26b03ae04946260168b7e5fb935b710ebff07094b2b5026c8241d965b693011d3a2f84bc diff --git a/dev-nodejs/read/read-1.0.4.ebuild b/dev-nodejs/read/read-1.0.4.ebuild index f505d66..e63d437 100644 --- a/dev-nodejs/read/read-1.0.4.ebuild +++ b/dev-nodejs/read/read-1.0.4.ebuild @@ -3,39 +3,23 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="read(1) for Node.js programs" -HOMEPAGE="https://npmjs.org/package/read" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="example" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/mute-stream-0.0.3 - ${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} + >=net-libs/nodejs-0.8.10 + ${DEPEND}" src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{lib,package.json} ${node_modules} - - dodoc README* LICEN* + npm_src_install if use example; then dodoc -r example diff --git a/dev-nodejs/resolve/Manifest b/dev-nodejs/resolve/Manifest index e62c77e..269e820 100644 --- a/dev-nodejs/resolve/Manifest +++ b/dev-nodejs/resolve/Manifest @@ -1,2 +1,2 @@ DIST resolve-0.3.1.tgz 5777 SHA256 2e9424747b687ff5cabd8c51e3fbd48152fe0cc89ba37f8d6a6e926ea741a092 SHA512 9b1c7f23fc0b8f1b6bc8306daeb6f464dcda60445559a1e92745b402b9bc37897c6fe8e25ff539c8a72c8f4cd0a45f54b8a375bb3f341144ceb9d38de8e3ee69 WHIRLPOOL f8f7a100ca75f94ea20e1b7f11ab7429e9e888ff1e107629627f46c2a6f6a04583edd2f0fa39536b618c818f1259bd55b5b857db8d71e7144a7f2a90a49583ee -EBUILD resolve-0.3.1.ebuild 853 SHA256 669f3316ee2db68ec96acfea814db47744cf2b28e1b9becd7ed92f08a7f86bb4 SHA512 7f519b72c6fd3d29394ad697b400102c80371e60430e45213d059508578ca93cb002b94dba39b9f42bbc92cd666640b45e3fd7f463eaf36de898eecee4cc89fe WHIRLPOOL 3ef9ed5ae64c9c21ab934551125921cb9e5384be4a64a6515f40943760537001954c6b2aa5d75eeb427a1ce625592ba4f4b3c735e9f583aeb56c0268c887fe1a +EBUILD resolve-0.3.1.ebuild 430 SHA256 a4764ba68136063e024a337028a49bbd4e03a50a8bd27b1c84479b6cd2dd942f SHA512 333673c9e40f75c01152fd8f8b09ddd7ef63c4442efe4e1b50c85c80fa1b3a1051a7aa9fb1cabf1d9030f0754e5aab766732e43627e15af91b28d9690bf58605 WHIRLPOOL 5891fc3711681d17dbd82a537b523b29766500f799aece2118f44895a81b5af11af52fecd2f5cf69fd77290ab658868ba8fc64dc4ff3e960b58ebab30eb8d7f5 diff --git a/dev-nodejs/resolve/resolve-0.3.1.ebuild b/dev-nodejs/resolve/resolve-0.3.1.ebuild index c1d749f..d51efe4 100644 --- a/dev-nodejs/resolve/resolve-0.3.1.ebuild +++ b/dev-nodejs/resolve/resolve-0.3.1.ebuild @@ -3,39 +3,22 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Resolve like require.resolve() on behalf of files asynchronously and synchronously." -HOMEPAGE="https://npmjs.org/package/resolve" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="example" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{lib,index.js,package.json} ${node_modules} - - dodoc readme* LICENSE + npm_src_install if use example; then dodoc -r example diff --git a/dev-nodejs/rigger/Manifest b/dev-nodejs/rigger/Manifest index 5102ff5..a78d1c2 100644 --- a/dev-nodejs/rigger/Manifest +++ b/dev-nodejs/rigger/Manifest @@ -1,2 +1,2 @@ DIST rigger-0.5.4.tgz 1310827 SHA256 03dec8f954f9a834826948d8fbbb13c3bc42dbc7e4106a2f457c35c9a41a52f7 SHA512 b763e77d9f01a5f5b8bbc1909e455dacd38da074ff654e2f6acf67c4c229a5a80db15829aa9be3dc0a6c71b89d5455ae873e97121a878b82c2210b48d7065cd7 WHIRLPOOL e0150270ef30346801cc6212ce394ad979b769c9e4f845d54b211be28acdf97816001605403f21ec65baf6b1b65f06a43ebecd3de3b36239fc396634ec41b650 -EBUILD rigger-0.5.4.ebuild 950 SHA256 3276804f9515b0af216d26b3a20ac4c68362849374f7cb3abf4e074d3db384fa SHA512 034d850a9fdced759a0ba39782d7fe4431d67d83d08373c686ca8853ebe395b25e991b0da9c6cfb14b6dd114c3a3035a0eb0245746ee6cc40d9efc975cb1ddff WHIRLPOOL 730db31c66a84beec28d24ac798991281552b55292e755eab318bc7e994dab48983985388f2bb4d16c331baa4521575068cbf4a3496cd9dba112eaf581399401 +EBUILD rigger-0.5.4.ebuild 561 SHA256 4aadd868a11d21ef60c57b82462d13dad5a3b4333497e692f3d2109e7bcf838a SHA512 3a7ee49344b790dfdb6567b9a39b53b40c09ea139095ed80f4bd4e043bbd033b09e2c855cc9ce0d931e21610e65c8dfc9461c8f641cab4cd4fd98734c923300f WHIRLPOOL d230c3d4f4bf0e93cfe7b60dbb3594917c6ad26833bd83ab1c89af4942eb46c77c1ea4f25af0234c60de0c3dd584b61724a9bccd5b98f96686bdb561c4ef5ee1 diff --git a/dev-nodejs/rigger/rigger-0.5.4.ebuild b/dev-nodejs/rigger/rigger-0.5.4.ebuild index 1da2e34..075fbba 100644 --- a/dev-nodejs/rigger/rigger-0.5.4.ebuild +++ b/dev-nodejs/rigger/rigger-0.5.4.ebuild @@ -3,42 +3,29 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Javascript file parser and include engine." -HOMEPAGE="https://npmjs.org/package/rigger" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/async-0.2.7 - >=dev-nodejs/buildjs_core-0.1.0 - >=dev-nodejs/debug-0.7.2 - >=dev-nodejs/getit-0.3.1 - >=dev-nodejs/underscore-1.4.4 - ${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} + >=dev-nodejs/buildjs_core-0.1.0 + >=dev-nodejs/debug-0.7.2 + >=dev-nodejs/getit-0.3.1 + >=dev-nodejs/underscore-1.4.4 + >=net-libs/nodejs-0.8.10 + ${DEPEND}" -src_compile() { - true -} +NPM_EXTRA_FILES="build.js converters directives plugins" src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{build.js,converters,directives,index.js,plugins,package.json} ${node_modules} + npm_src_install dobin bin/* - dodoc README* } diff --git a/dev-nodejs/rimraf/Manifest b/dev-nodejs/rimraf/Manifest index 5caaedd..7d04db6 100644 --- a/dev-nodejs/rimraf/Manifest +++ b/dev-nodejs/rimraf/Manifest @@ -1,2 +1,2 @@ DIST rimraf-2.1.4.tgz 3301 SHA256 093154365aab3c09aea8e83dda7c5a7fd785c787ebbf1fcdc415cb5f74d1acac SHA512 b73c265f5e98421705bb44ff9b480705c14ac7ac90020efb67a596690489b147a45d86bac9a0261e1ac37661627206ae5ff7abec6b1d37ebd16a8de606103891 WHIRLPOOL f619d6fde484d2a96ae5e512bc35c2ea1f716893da403c6f7adfb21a7a6cd92aa12a4a74e126366e304b78f2bccf4f884fd4416308cfeb254a9eb368151252b7 -EBUILD rimraf-2.1.4.ebuild 802 SHA256 4471e38abb359e2607ed7597d2d94bdd1090d4199cb4172e0c04e438212b0141 SHA512 db45fb403635c68b03e086ceb23c984e3e27ffc108502e201674113d3b766e3cc037a1bcb1132a7d6ad815fda479b18fd5acfb5cb91f2f95bc4947b148be7bc6 WHIRLPOOL a20515098340a4961667b55d074365e095b10d3e2c49a3bf18a4d22079911646c9823fb2a063d8ef9b61f000d3b16dbb3d11bb52c690c2a9a30592d74c7b0c4d +EBUILD rimraf-2.1.4.ebuild 349 SHA256 604d9017b9031e5330a0ac4e97a47be70ebda0e97434c918709c549adc866767 SHA512 80cccb690d44391bb291d9237e2ac3b336febe13691cd6ceb788feb07aa0198ff3c8c89517dcf774a9d52e841338e58ed3078667df28633470b4e019d4e3f2bb WHIRLPOOL 47a0aa4d37fd78dce68ce2985d39af8b66fbf37b31a63e78fd52766506bd829d7e765c6075014cf52d6473edb55b539c9b37e6196ba29ad01b015df2c40d50cb diff --git a/dev-nodejs/rimraf/rimraf-2.1.4.ebuild b/dev-nodejs/rimraf/rimraf-2.1.4.ebuild index d68dfc3..fe30f05 100644 --- a/dev-nodejs/rimraf/rimraf-2.1.4.ebuild +++ b/dev-nodejs/rimraf/rimraf-2.1.4.ebuild @@ -3,37 +3,17 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="A deep deletion module for node (like 'rm -rf')." -HOMEPAGE="https://npmjs.org/package/rimraf" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/graceful-fs-1.2.1 - ${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{${PN}.js,package.json} ${node_modules} - - dodoc README* LICENSE AUTHORS -} + >=net-libs/nodejs-0.8.10 + ${DEPEND}" diff --git a/dev-nodejs/sigmund/Manifest b/dev-nodejs/sigmund/Manifest index 55e080f..917de79 100644 --- a/dev-nodejs/sigmund/Manifest +++ b/dev-nodejs/sigmund/Manifest @@ -1,2 +1,2 @@ DIST sigmund-1.0.0.tgz 4027 SHA256 ddf823295db284ac4720b9d40f381d7375dc0b05881b98269346b33fe9835e25 SHA512 5edaf127805fe670e749c076d94d1fb744e90932d216990f02ea27df6dd7f66170628c335aeb016ee9f13ac8b690ee856f6f6b7876713cd1e038bfdf30da8ca1 WHIRLPOOL 1b751c1ee1f5cccb9dd7b5ab2a0de82c67112ae42838a53fe42b67474a8a81ba9b6db5d9bf459ee8727d60e0d470a2a0c60e51adfc933b46268587cee1a982d6 -EBUILD sigmund-1.0.0.ebuild 777 SHA256 d500df8a0c83c6a1478e3d7e19ad97b787ba3c3f08ea9df9b6256f1af1302e59 SHA512 57c2b28321fe3d87cdf169ae1ea9f434b0275572c471c27721f61a1625efbf51f6c90ee8415db73ec14797a25917e196c1d28457611e5364347e183cc4059583 WHIRLPOOL af0fcdb472f181dbaa1e4f51b1d27ee35563083beb985b0e7dd6d83e1e133327f57943309b8f19b2ab1aee74abdeec2d3759510cc8b7e03f6e7f7e0b0fc880e6 +EBUILD sigmund-1.0.0.ebuild 322 SHA256 e5906b54ba0b0e647f560f71ad0b2f28c9e640df68e1329bd9a9ae71c0b0a010 SHA512 dc02653c1d9dc91b7f185f428dcb1aaeb863d0763f3c56c22762c2eeb26c98bb415299a4ad8e4940468bdbf17e5baa9ad3a032fe0fbcdd9d555094112670a94b WHIRLPOOL c15bf12f7cd690a38c7f658d28a8351a0cd92ee682e2f79311445b7f94833b36179755a338c8089089b0afac617a6e9b8990a96e8b553d81c345c0605b1a3bb1 diff --git a/dev-nodejs/sigmund/sigmund-1.0.0.ebuild b/dev-nodejs/sigmund/sigmund-1.0.0.ebuild index 2a6c969..7ed9ca1 100644 --- a/dev-nodejs/sigmund/sigmund-1.0.0.ebuild +++ b/dev-nodejs/sigmund/sigmund-1.0.0.ebuild @@ -3,36 +3,15 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Higher-order functions and common patterns for asynchronous code" -HOMEPAGE="https://npmjs.org/package/sigmund" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{${PN}.js,package.json} ${node_modules} - - dodoc README* LICENSE -} +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" diff --git a/dev-nodejs/temporary/Manifest b/dev-nodejs/temporary/Manifest index 3c197e6..7361f81 100644 --- a/dev-nodejs/temporary/Manifest +++ b/dev-nodejs/temporary/Manifest @@ -1,2 +1,2 @@ DIST temporary-0.0.5.tgz 4901 SHA256 2e920c6b6b6e9e4ca9abdd47a5e6daad3665cb3ae41dd795bc4bff77e39effe5 SHA512 9a8b96181d352877fb7319d8b44d1f24f7833276f8170f3074ebf61946e8ce5c8305c9046576f79e2c6cb097d8d7db5a680121fa2887046d4e7ca2d4e19b56d0 WHIRLPOOL d488b3080e96a942f91c7da61d72aef3b2528911f7e7c45c79ce509314482201046679aabd2a2f9627fded67ed7ceaed310a8b9da54a2077a810752329513647 -EBUILD temporary-0.0.5.ebuild 840 SHA256 703bba0757ba3a5f49481f3f2a3178578d25f79e3faa73ab0e037e412e5ff34b SHA512 50f03c668c4b493ecaa86f966889d935d0d81493ce3fba5be3eb168038ac1d92ac0d8c6af863d3689bb10e9ee56ba0675b208739599037592f47b334ff5b1828 WHIRLPOOL 42f8ea20fd948bca67deecb6a180f949b1330a2914ce995aab760ee004db8754f4937a224869c7399dee3fc787344a26f8ef9748e5a1a512eeb53d2c7e5f696e +EBUILD temporary-0.0.5.ebuild 437 SHA256 2c25d4911a5c7d1e4c51c1a5cd72ac84b09df142256e949431836b996f03c154 SHA512 b81901c142295257082091d14b67b36b37e1351118a8862910e7ecb627d31093406ce3285f6373b78c9b01a6349fd2473104b4e683874b402c80e6d4e3617d6a WHIRLPOOL f1305ca8d08934da646f4764c534ecd4e3173adc94b6bfd39a88c2446f3ad13b70669b12c49b284ffdbf0e5b224135db1ce6c0e2797f3bd9bbd3cee83883687a diff --git a/dev-nodejs/temporary/temporary-0.0.5.ebuild b/dev-nodejs/temporary/temporary-0.0.5.ebuild index b7784f2..b04e29d 100644 --- a/dev-nodejs/temporary/temporary-0.0.5.ebuild +++ b/dev-nodejs/temporary/temporary-0.0.5.ebuild @@ -3,39 +3,25 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="The lord of tmp." -HOMEPAGE="https://npmjs.org/package/temporary" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="example" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/package-1.0.1 - ${DEPEND}" + >=net-libs/nodejs-0.8.10 + ${DEPEND}" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} +NPM_EXTRA_FILES="dir.js file.js" src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{dir.js,file.js,lib,package.json} ${node_modules} - - dodoc Readme* History.md index.js + npm_src_install if use example; then dodoc -r examples diff --git a/dev-nodejs/through/Manifest b/dev-nodejs/through/Manifest index e351b7e..02d3f07 100644 --- a/dev-nodejs/through/Manifest +++ b/dev-nodejs/through/Manifest @@ -1,2 +1,2 @@ DIST through-2.3.4.tgz 4156 SHA256 a73f41c6cac9d9788a40b49ee0bf43170b8ec394035282ea951f6033c3aac425 SHA512 0f06e648070006c31accd90b3892522d10b781f87870fc54c490a7f67a66bdb708eae9dd860a09d9286f10e819ad6f011fad86cabf6329ba066df15c998e55b1 WHIRLPOOL dc5862ec4936db675f663b7383f3ecc9a03781e60cf07567d5bee8d0f2d42003c721651aaa965a2f5d1f1af8763e35bd85a1e07680862f519bc8f24202feefb7 -EBUILD through-2.3.4.ebuild 745 SHA256 90b269fc9bfd249e18e38848a85ba2bfe804196486a5c0399babee3057e19312 SHA512 dad108667eeec7e11294cb3a0ab9f7870af1f690bbfd9271fb6fcd79e3a7d3164441c5860d02e72029ef612efc92655b9063b179f89df80f1448335223eebd36 WHIRLPOOL de6e7ac841daab6e61a32a21761117110c21188f702784d41ffce7fa4edae3108d86253acbb5f85a8a5983824476a27ee9ccd2bb99e4d4aceee35704df9f5ae7 +EBUILD through-2.3.4.ebuild 289 SHA256 ec00d700aa84eb0b09a8577d8028679d30883ec3d4b8b799be44b9a1af76ebb1 SHA512 ae2e29c71b523d48b3b4e52ad0a7c07acccc0d682e944a961bb72019c183362438007010e1a397cc13dca486ee55660c03222f2de9e87a436bdae138725e1ac8 WHIRLPOOL f79a0048f8f49d313ee1bc00e08f69a5f990e3dc814059740f75c7362fb0ac2189f8faa307214feb689ab4eaba7bf390544228bc529d576790ce125b3f7452b9 diff --git a/dev-nodejs/through/through-2.3.4.ebuild b/dev-nodejs/through/through-2.3.4.ebuild index dab1a14..c1c69e8 100644 --- a/dev-nodejs/through/through-2.3.4.ebuild +++ b/dev-nodejs/through/through-2.3.4.ebuild @@ -3,36 +3,15 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Simplified stream contsruction." -HOMEPAGE="https://npmjs.org/package/through" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{index.js,package.json} ${node_modules} - - dodoc readme* LICENSE* -} +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" diff --git a/dev-nodejs/tiny-lr/Manifest b/dev-nodejs/tiny-lr/Manifest index df248f5..58057ad 100644 --- a/dev-nodejs/tiny-lr/Manifest +++ b/dev-nodejs/tiny-lr/Manifest @@ -1,2 +1,2 @@ DIST tiny-lr-0.0.4.tgz 17519 SHA256 6cf2f1ca05fe585b0a53df790e4113faf73acab92b8d03e35d2f58bc6dffb8bd SHA512 2350b0b4b4b0ed596a9a1ad99727a279f1893362b234e11fcca1dd1a74bfec92736030cc9147e571151727e78012907a49d1ef8e4fe2f437d3ff888e2e6c79c6 WHIRLPOOL f7f83b6d4cef5eddab37a396a161901a28871c9ba99f21180fb3989d6e5be8382faf8dc3345a5338167be535e34b28514e96bd6a2f43f07cb2254c0035de0c70 -EBUILD tiny-lr-0.0.4.ebuild 883 SHA256 c411fbb7deeca41994beb3f58142fdb83122ffe05c1071b62dfa072f19b7ba0e SHA512 8407ca84430a5a53d24de9d2bfd7ae7a2d4490b2f38192de10e2afefde948247909312abe884734eae268e0aa04b9c43f55dd19b3b8b0241cd08f2e90de6e923 WHIRLPOOL 173e86a93df85e3297bdd569e59e6f9bc9f377867f37314e55ab912e5f3d8ec8a58444cdf43df5bb0f612a20e86068aebf09132a29a1be9a89a3c7d00def3893 +EBUILD tiny-lr-0.0.4.ebuild 500 SHA256 0b04b7d66ac017bbeffa17ddfa9e18265772e049d40f4bd0422cf93b25de8df8 SHA512 c826bb215b428dff3fda36fb6fbe2fa8ce5cfcdfea370180748a2b2326356837926d9ddf50eba34cce5a6c092e5e534a701a671b70a3b65b50efb90a9204aafc WHIRLPOOL bffd09827acf58f162595e8370129630f3453999882ebc54621873e63ad7211c8f84f10ef020f9f6ddd347b77d54f75050f23cc9afc762323780899a54016cb5 diff --git a/dev-nodejs/tiny-lr/tiny-lr-0.0.4.ebuild b/dev-nodejs/tiny-lr/tiny-lr-0.0.4.ebuild index e88a1a8..9ddc43a 100644 --- a/dev-nodejs/tiny-lr/tiny-lr-0.0.4.ebuild +++ b/dev-nodejs/tiny-lr/tiny-lr-0.0.4.ebuild @@ -3,41 +3,28 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Tiny LiveReload server, background-friendly." -HOMEPAGE="https://npmjs.org/package/tiny-lr" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/qs-0.6.3 - >=dev-nodejs/faye-websocket-0.5.0 - >=dev-nodejs/noptify-0.0.3 - >=dev-nodejs/debug-0.7.2 - ${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} + >=dev-nodejs/faye-websocket-0.5.0 + >=dev-nodejs/noptify-0.0.3 + >=dev-nodejs/debug-0.7.2 + >=net-libs/nodejs-0.8.10 + ${DEPEND}" -src_compile() { - true -} +NPM_EXTRA_FILES="tasks" src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{lib,package.json,tasks} ${node_modules} + npm_src_install dobin bin/* - dodoc readme* } diff --git a/dev-nodejs/underscore/Manifest b/dev-nodejs/underscore/Manifest index 8f123cd..7b13563 100644 --- a/dev-nodejs/underscore/Manifest +++ b/dev-nodejs/underscore/Manifest @@ -1,2 +1,2 @@ DIST underscore-1.4.4.tgz 41763 SHA256 a848a28193850d58d7b98249d70844bc7f35a7d8b6b5ed75e08e829aa6e763d3 SHA512 66a1ab0206aaa9933b2c64733632e7c397a57af59be4cf0b1280cc69dc485b73966dcbfbdb030c80a77038aa5de45ab17bc721a0b0fc1cdde24a3dd3521fe089 WHIRLPOOL e6db94eccc6bb3dd82f43c795112dc3242bd7a3f7a61f51dc32b91eb100f5e761c8b537ebcbeae95fb5b8976120dd5a1d5b22012aeade9bbb78b4369df841b5f -EBUILD underscore-1.4.4.ebuild 807 SHA256 49d383e76af5e4ce07c1fef632ea23fbe7a5c7b85da5ad4f6fee82d82dec1ef7 SHA512 c58f3969632d5b93811612c0a6e078a921f821ee9357b09261db2fd6a69514ee42a74f9f6996877f232913762d9d517b2e0c59b64e6fc0b5d0d0a77b91409d61 WHIRLPOOL 50d61fe903b38407aa77598c8db9cb6da091f7791f82ae31d1a534b7f957259e90656828bbfe22125addbb61f65482f24249be5188df9ec640d189c1a96bbfd9 +EBUILD underscore-1.4.4.ebuild 338 SHA256 388056078678fa7c4bb186282c15f716b72c57df160f1240b5a1aab2dd502b06 SHA512 554baaa064e45d5398a3d8e3d3ad211e4d728178a537ca6395a62bcd2f00a4758a0bfee556c42d99e031ce4445f46e87a43cfd811a71f08e0864f247810ad91f WHIRLPOOL 995968e6a97fa11d9ed58f7257f9045d126e1090178a549c41dcf219295c2f7e83985a83480fc02b02d272c9609a6f32bd3291da8d38cdbce873f5619c330530 diff --git a/dev-nodejs/underscore/underscore-1.4.4.ebuild b/dev-nodejs/underscore/underscore-1.4.4.ebuild index 4414446..88b14b5 100644 --- a/dev-nodejs/underscore/underscore-1.4.4.ebuild +++ b/dev-nodejs/underscore/underscore-1.4.4.ebuild @@ -3,36 +3,17 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="JavaScript's functional programming helper library." -HOMEPAGE="https://npmjs.org/package/underscore" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{${PN}*.js,package.json} ${node_modules} - - dodoc README* LICENSE CNAME CONTRIBUTING* favicon.ico index* -} +NPM_EXTRA_FILES="${PN}*.js" diff --git a/dev-nodejs/underscore_string/Manifest b/dev-nodejs/underscore_string/Manifest index 88a247e..01a92d5 100644 --- a/dev-nodejs/underscore_string/Manifest +++ b/dev-nodejs/underscore_string/Manifest @@ -1,2 +1,2 @@ DIST underscore.string-2.3.1.tgz 146797 SHA256 2193848b9e4b8a359adac02607302856346e4b4bdd1381a6995025cff17d4c68 SHA512 8b75bb740f2c7b2870bcdb34865b50e1ee6722bb3893666455f20f38d7c7714d5617a362da304ab6a869317b9fca18d103a9d34c655d1395f5ca23c2258fd430 WHIRLPOOL a8647456a896d80145ad14ddafcaab8668bfffc662bf90fe361826435af39d2811fa81e560929cc9edd784f921e87edce3723fefd45dc24b88126a64d0811440 -EBUILD underscore_string-2.3.1.ebuild 860 SHA256 8955351a187f09c0e5e361133c525266f625ae6f9d7be128eb8a0a4bca00e8f3 SHA512 13b38ec66bc5a1000985048ed43456bb6801af40b9396b741875665ef7d855391e73cf3a884689b26718ca24ccaae5a07204dea83b16b9d7b1e2e751039676f2 WHIRLPOOL a350fc7b00960733c0329e3348d1f86bdb92fd7884786e51ad99b64322970ac9bbb69bd08428f24727d0d977ded74952a8c5ebfb7a4fcb42cf881d2a1f1ff3f9 +EBUILD underscore_string-2.3.1.ebuild 545 SHA256 7e44e1605e9df7273bf9f4e4bf4d6a6111270cb4c368f20a73a31a6bab54f11d SHA512 94b797479f78de3bc4ee2befa91237123449fe5c46a0cf0c1001b4ea2e3756b28c328b035298bca6764192d399f484b4b001dc8e60cd49665f609f72a7caa07a WHIRLPOOL 775d0f471875a1dea91a7a635a5306e4c8fc98a2e2be62ce50c15215e83ef77eb8fc7e2062821ff6134d597da0a0c48c315a5c3435a3c8b95184382a96c5ae49 diff --git a/dev-nodejs/underscore_string/underscore_string-2.3.1.ebuild b/dev-nodejs/underscore_string/underscore_string-2.3.1.ebuild index 50dba01..172368a 100644 --- a/dev-nodejs/underscore_string/underscore_string-2.3.1.ebuild +++ b/dev-nodejs/underscore_string/underscore_string-2.3.1.ebuild @@ -7,7 +7,7 @@ MY_PN=${PN/_/.} MY_P=${MY_PN}-${PV} NODEJS_MODULE=${MY_PN} -inherit multilib +inherit npm DESCRIPTION="String manipulation extensions for Underscore.js" HOMEPAGE="https://npmjs.org/package/underscore.string" @@ -15,29 +15,12 @@ SRC_URI="http://registry.npmjs.org/${MY_PN}/-/${MY_P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/underscore-1.4.4 - ${DEPEND}" + >=net-libs/nodejs-0.8.10 + ${DEPEND}" S="${WORKDIR}/${MY_P}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{lib,package.json} ${node_modules} - - dodoc README* -} diff --git a/dev-nodejs/websocket-driver/Manifest b/dev-nodejs/websocket-driver/Manifest index 44e6b69..714eb5c 100644 --- a/dev-nodejs/websocket-driver/Manifest +++ b/dev-nodejs/websocket-driver/Manifest @@ -1,2 +1,2 @@ DIST websocket-driver-0.1.0.tgz 12300 SHA256 e10f0184c5c69d1f4bc70b4049250706653b3c15aee834b6d50d315babb2bc2f SHA512 b421d4362dae9af7b18fa27e75eb16d251f99633bca53cc7206a58f518ffc77a208f8bea37a5b3205e33a2506afbe139008ec3f6ebacae9ad7d53606114b9880 WHIRLPOOL 8704e52dd917a1594f2edfc73b18101d6e273ecc1d5cecc0f7344fbe92c3befcdbbd156222cac8a5b6aa8080c8a11c3d3776cb99f2aed2e761e8a0014516308c -EBUILD websocket-driver-0.1.0.ebuild 755 SHA256 64c37bd478d61b2313ca8b4d1d2efa2a84cc034f4febec8bb208f52537624dba SHA512 f01d407e8b597e1c20f9c1eea76e2d8297ccf7a08152202328d842227c548acd0307dd8873c84c9092a31d9c12b63c7a15bccde8b056de6b72fbe806bfb3203c WHIRLPOOL d059e06e0f8a2e658bf56965c5b0c32fbe75176fedbceafed17b573b60ea542345256e5d926e50770efb22871c4f75e24fcf7e021f517127fa19189373b23af2 +EBUILD websocket-driver-0.1.0.ebuild 304 SHA256 f4e02aa3a64e00f19ba6c348c775f586d8072f7fe6ad3d4bb108cd0a7cbdfc4a SHA512 4f66e1d86a85225c8e084df3bbe2b3005e42896629f24abc0bd20355c3a3bef9a56489eb1524b303b6a841e16696e15acb78d6dfba880b600cf88c41388d7286 WHIRLPOOL 6e2b6319abe88e475b3aa23755bce8ac56433c926bdc65826ad7a78bc8ead05954d8df6ac1bbb5a58acdf01dc2be825999db7ca36a1bca82f25a95dd5c5f9774 diff --git a/dev-nodejs/websocket-driver/websocket-driver-0.1.0.ebuild b/dev-nodejs/websocket-driver/websocket-driver-0.1.0.ebuild index 70ba795..8650b6c 100644 --- a/dev-nodejs/websocket-driver/websocket-driver-0.1.0.ebuild +++ b/dev-nodejs/websocket-driver/websocket-driver-0.1.0.ebuild @@ -3,36 +3,15 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="WebSocket protocol handler with pluggable I/O." -HOMEPAGE="https://npmjs.org/package/websocket-driver" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} - -src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{lib,package.json} ${node_modules} - - dodoc README* -} +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" diff --git a/dev-nodejs/which/Manifest b/dev-nodejs/which/Manifest index 861daab..3157b7f 100644 --- a/dev-nodejs/which/Manifest +++ b/dev-nodejs/which/Manifest @@ -1,2 +1,2 @@ DIST which-1.0.5.tgz 2504 SHA256 e26f39d7b152c700636472ab4da57bfb9af17972c49a9e2a06f9ff347d8fad42 SHA512 a7cdb0f5edfadbc635b02238d4f6f365be506da72cb7662dfe01389adaab357bfae529b035b01c42f4b85647a1b6a99c94070e877ead8108b0860e9f2af9320c WHIRLPOOL bde165819cac6016bb4b3a0f3eee718460aeced63b72253c765d6af6542e69e28f84a2844362650a74ca22212a9aee3eabdca202db18eefd2e9aa94e9657f21c -EBUILD which-1.0.5.ebuild 791 SHA256 3d71fde43bca0ccd641fce76890ef309439adb8c90fa6c3a3a609c5a428258c1 SHA512 9473717641e4e6a8a83fbeb4075d613197c6d386c6de8eeadd57d1fa50c9249358fa2fddc89b0fd45a3c2e6e733576c4dc502875b96829e1753641a1d798a35b WHIRLPOOL 188b3ea5d961e2180274d0745cfe6887bfb0c988dab2bb08177c26378bffe1502dfcc9bf9194c4aa081c1bf5375e86d2b0c3fc6e70fb637f9591e419cf391cb4 +EBUILD which-1.0.5.ebuild 375 SHA256 216305c42025f639d21dbc88bb2c29ab4a4eeb133197ea11c6289dfa6409aed8 SHA512 33586056fad40121492a1bf23b8618a310bc34fb6438a51495750f0bbb545daa8b006e2334b69558e05373ffaca372cd8f0339d73473b5ac7c599408bd607ad9 WHIRLPOOL 6b0614700e38a64cbc89f4ca8460fa1efaf0945e9cae175c03df933e9f239045df264e9c51bf96ac34786caafae03fc278fd85ece918d93c2eacd0146b347346 diff --git a/dev-nodejs/which/which-1.0.5.ebuild b/dev-nodejs/which/which-1.0.5.ebuild index f0b2c6a..b622216 100644 --- a/dev-nodejs/which/which-1.0.5.ebuild +++ b/dev-nodejs/which/which-1.0.5.ebuild @@ -3,37 +3,21 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Find the first instance of an executable in the PATH." -HOMEPAGE="https://npmjs.org/package/which" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{${PN}.js,package.json} ${node_modules} + npm_src_install newbin bin/which which.js - dodoc README* LICENSE } diff --git a/dev-nodejs/wordwrap/Manifest b/dev-nodejs/wordwrap/Manifest index cb1c40e..dcaf259 100644 --- a/dev-nodejs/wordwrap/Manifest +++ b/dev-nodejs/wordwrap/Manifest @@ -1,2 +1,2 @@ DIST wordwrap-0.0.2.tgz 13772 SHA256 66a2fa688509738922c3ad62a6159fe3c93268bd3bca2bff24df4bc02cc31582 SHA512 c5206c09e87e83e7629e806fdc600e58ce0b71554eebcc0b5d16a789bb4149d52f906590446784f4fec8c14f449830e2e2303a2f8e25cf5e4218cc1dc3d379f9 WHIRLPOOL 990139e1ce480c4ebde6e5c6f1ae257266c3a0ad95abf15fb6ba3cd2b3955825dae4a42f928e6d9d2184a1acebc880603f749270fbac08d63047e620adfe67f2 -EBUILD wordwrap-0.0.2.ebuild 818 SHA256 05fdfad1029721b2334660224eaef65aea3fb5f5af9277208782a2b8b41ad3ed SHA512 195020376a88998e81196dba89f27e333d4da891c87b4f5062986cf36da98966731e54387f2275ab6ef905b14c7f8d9768450882e6e6c3593083607e711a33fd WHIRLPOOL c674f8cdf35e76b2fae946261a3354285e2d9c2cc64b67ebdb9bbfd8cdde1764a4b4371c4402d6608fc75d3547fd03e0ffb5bc7a487632b9f051c87fb3ea368e +EBUILD wordwrap-0.0.2.ebuild 406 SHA256 6d6b34893ae44aab449a4cb7b64325cb13fd3491f0da01ad84aee63b76f09c8c SHA512 e0b87b68b4f8cbb1e0885e97206ceeb4e792ae42d34b9d169a60622cd2fea6a85c85a331bf5441e566af1d59d597377cf7f3c616236b4e155a9b6a4d792af994 WHIRLPOOL 754a993860f6e356bf9b0f69c3958dfd64d80d344bef6b0166175bdcb82c827b68d4c1772d4eb9d793ae7dc127e35c63768519ddd8841151b3acd8a7fe5805ff diff --git a/dev-nodejs/wordwrap/wordwrap-0.0.2.ebuild b/dev-nodejs/wordwrap/wordwrap-0.0.2.ebuild index dbad1a3..749dd16 100644 --- a/dev-nodejs/wordwrap/wordwrap-0.0.2.ebuild +++ b/dev-nodejs/wordwrap/wordwrap-0.0.2.ebuild @@ -3,38 +3,21 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Wrap those words. Show them at what columns to start and stop." -HOMEPAGE="https://npmjs.org/package/wordwrap" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="example" -DEPEND=">=net-libs/nodejs-0.8.10" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} +RDEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" src_install() { - local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" - - mkdir -p ${node_modules} || die "Could not create DEST folder" - cp -r ${S}/{index.js,package.json} ${node_modules} - - dodoc README* + npm_src_install if use example; then dodoc example |